Core/Chat: cleanup MonsterText methods

This commit is contained in:
joschiwald committed 2014-09-13 20:41:31 +02:00
1 parent 11bb300c69
commit 59baaeec48
34 files changed
+305 -408

No files matched your search

+4 -4
View File
@@ -1222,7 +1222,7 @@ public:
return false;
}
creature->MonsterSay(args, LANG_UNIVERSAL, NULL);
creature->Say(args, LANG_UNIVERSAL);
// make some emotes
char lastchar = args[strlen(args) - 1];
@@ -1251,7 +1251,7 @@ public:
return false;
}
creature->MonsterTextEmote(args, 0);
creature->TextEmote(args);
return true;
}
@@ -1328,7 +1328,7 @@ public:
if (handler->HasLowerSecurity(receiver, 0))
return false;
creature->MonsterWhisper(text, receiver);
creature->Whisper(text, LANG_UNIVERSAL, receiver);
return true;
}
@@ -1349,7 +1349,7 @@ public:
return false;
}
creature->MonsterYell(args, LANG_UNIVERSAL, NULL);
creature->Yell(args, LANG_UNIVERSAL);
// make an emote
creature->HandleEmoteCommand(EMOTE_ONESHOT_SHOUT);