mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[10636] Ignore another map target for text emote.
This commit is contained in:
parent
851e15c70a
commit
7a26fdd45d
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue