[10636] Ignore another map target for text emote.

This commit is contained in:
VladimirMangos 2010-10-21 11:00:55 +04:00
parent 851e15c70a
commit 7a26fdd45d
2 changed files with 2 additions and 2 deletions

View file

@ -582,7 +582,7 @@ void WorldSession::HandleTextEmoteOpcode( WorldPacket & recv_data )
}
}
Unit* unit = ObjectAccessor::GetUnit(*_player, guid);
Unit* unit = GetPlayer()->GetMap()->GetUnit(guid);
MaNGOS::EmoteChatBuilder emote_builder(*GetPlayer(), text_emote, emoteNum, unit);
MaNGOS::LocalizedPacketDo<MaNGOS::EmoteChatBuilder > emote_do(emote_builder);