Added some consts to remove 'deprecated string to char*' warnings.

This commit is contained in:
Arthur Ice
2013-03-09 10:52:25 -08:00
parent 0e6272e6d8
commit faa93c3739
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -3919,7 +3919,7 @@ void command_fixmob(Client *c, const Seperator *sep)
uint32 DrakkinTattoo = target->GetDrakkinTattoo();
uint32 DrakkinDetails = target->GetDrakkinDetails();
char* ChangeType = NULL; // If it's still NULL after processing, they didn't send a valid command
const char* ChangeType = NULL; // If it's still NULL after processing, they didn't send a valid command
uint32 ChangeSetting;
char* command = sep->arg[1];
@@ -9566,8 +9566,8 @@ void command_object(Client *c, const Seperator *sep)
}
// Save it here. We sometimes have need to refer to it in multiple places.
char* usage_string = "Usage: #object List|Add|Edit|Move|Rotate|Save|Copy|Delete|Undo";
const char* usage_string = "Usage: #object List|Add|Edit|Move|Rotate|Save|Copy|Delete|Undo";
if ((!sep) || (sep->argnum == 0))
{
// Crash Suppressant: Shouldn't be able to get here, either, but fail gracefully if we do.