aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-20 15:20:14 -0600
committermegamage <none@none>2009-02-20 15:20:14 -0600
commit25761043d35c8bace3bc9d0c0737518a942b4ce7 (patch)
tree1072f5574bdc8923007268d814154b98d58a04e7
parent289eb0e5e5d7008f6483b8794dc5745d57c43463 (diff)
[7310] Fixed name localization in whisper message. Author: VladimirMangos
--HG-- branch : trunk
-rw-r--r--src/game/Object.cpp2
-rw-r--r--src/shared/revision_nr.h2
2 files changed, 2 insertions, 2 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);
}
diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h
index a61bba635ea..1f3088c2ee1 100644
--- a/src/shared/revision_nr.h
+++ b/src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "7309"
+ #define REVISION_NR "7310"
#endif // __REVISION_NR_H__