From 51414967c488dacb5b35c8fc5e642bef9dd4b42a Mon Sep 17 00:00:00 2001 From: Subv Date: Wed, 14 Nov 2012 09:35:45 -0500 Subject: Core/Build: Fixed a little mistake. --- src/server/game/Texts/CreatureTextMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Texts/CreatureTextMgr.cpp b/src/server/game/Texts/CreatureTextMgr.cpp index fa0e1b4fe88..4785b9346f2 100755 --- a/src/server/game/Texts/CreatureTextMgr.cpp +++ b/src/server/game/Texts/CreatureTextMgr.cpp @@ -302,7 +302,7 @@ uint32 CreatureTextMgr::SendChat(Creature* source, uint8 textGroup, uint64 whisp if (iter->emote) SendEmote(finalSource, iter->emote); - if (srcPlayer) + if (srcPlr) { PlayerTextBuilder builder(source, finalSource, iter->group, iter->id, finalLang, whisperGuid); SendChatPacket(finalSource, builder, finalType, whisperGuid, range, team, gmOnly); -- cgit v1.2.3