Drop Say/Yell/etc string versions.

1) DB based string_id versions must be used.
    2) for debug purposes raw WorldObject::MonsterSay/etc versions can be used

Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-19 18:49:11 -06:00
1 parent fe6bfc2ef1
commit 7fc442263d
5 files changed
+4 -20

No files matched your search

+4 -4
View File
@@ -53,7 +53,7 @@ bool ChatHandler::HandleNpcSayCommand(const char* args)
return false;
}
pCreature->Say(args, LANG_UNIVERSAL, 0);
pCreature->MonsterSay(args, LANG_UNIVERSAL, 0);
return true;
}
@@ -71,7 +71,7 @@ bool ChatHandler::HandleNpcYellCommand(const char* args)
return false;
}
pCreature->Yell(args, LANG_UNIVERSAL, 0);
pCreature->MonsterYell(args, LANG_UNIVERSAL, 0);
return true;
}
@@ -91,7 +91,7 @@ bool ChatHandler::HandleNpcTextEmoteCommand(const char* args)
return false;
}
pCreature->TextEmote(args, 0);
pCreature->MonsterTextEmote(args, 0);
return true;
}
@@ -119,7 +119,7 @@ bool ChatHandler::HandleNpcWhisperCommand(const char* args)
if (HasLowerSecurity(objmgr.GetPlayer(receiver_guid), 0))
return false;
pCreature->Whisper(text,receiver_guid);
pCreature->MonsterWhisper(text,receiver_guid);
return true;
}