From 25761043d35c8bace3bc9d0c0737518a942b4ce7 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 20 Feb 2009 15:20:14 -0600 Subject: [7310] Fixed name localization in whisper message. Author: VladimirMangos --HG-- branch : trunk --- src/game/Object.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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__ -- cgit v1.2.3