diff options
author | megamage <none@none> | 2009-02-20 15:20:14 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-20 15:20:14 -0600 |
commit | 25761043d35c8bace3bc9d0c0737518a942b4ce7 (patch) | |
tree | 1072f5574bdc8923007268d814154b98d58a04e7 /src/game/Object.cpp | |
parent | 289eb0e5e5d7008f6483b8794dc5745d57c43463 (diff) |
[7310] Fixed name localization in whisper message. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 26a36ebe1ba..6b34033a213 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1498,7 +1498,7 @@ void WorldObject::MonsterWhisper(int32 textId, uint64 receiver, bool IsBossWhisp char const* text = objmgr.GetTrinityString(textId,loc_idx); WorldPacket data(SMSG_MESSAGECHAT, 200); - BuildMonsterChat(&data,IsBossWhisper ? CHAT_MSG_RAID_BOSS_WHISPER : CHAT_MSG_MONSTER_WHISPER,text,LANG_UNIVERSAL,GetName(),receiver); + BuildMonsterChat(&data,IsBossWhisper ? CHAT_MSG_RAID_BOSS_WHISPER : CHAT_MSG_MONSTER_WHISPER,text,LANG_UNIVERSAL,GetNameForLocaleIdx(loc_idx),receiver); player->GetSession()->SendPacket(&data); } |