Core/Players: merged a fix for frozen emotes in specific circumstances
This commit is contained in:
1 parent
b958176025
commit
b60589fa9f
3 files changed
+8
-6
No files matched your search
@@ -700,8 +700,10 @@ void WorldSession::HandleEmoteOpcode(WorldPacket& recvData)
|
||||
|
||||
uint32 emote;
|
||||
recvData >> emote;
|
||||
sScriptMgr->OnPlayerEmote(GetPlayer(), emote);
|
||||
GetPlayer()->HandleEmoteCommand(emote);
|
||||
sScriptMgr->OnPlayerClearEmote(GetPlayer());
|
||||
|
||||
if (_player->GetUInt32Value(UNIT_NPC_EMOTESTATE))
|
||||
_player->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||
}
|
||||
|
||||
namespace Trinity
|
||||
|
||||
Reference in new issue
Block a user