Player/Emotes: Fix infinite dance and read map animation

Thx to @Kinzcool and @SeTM for the info
This closes #10067
This commit is contained in:
Dekadence committed 2014-09-06 03:20:39 +02:00
1 parent 9a4f062b26
commit 57ceeae828
2 files changed
+8

No files matched your search

@@ -297,6 +297,10 @@ void WorldSession::HandleMovementOpcodes(WorldPacket& recvPacket)
return;
}
// stop some emotes at player move
if (plrMover && (plrMover->GetUInt32Value(UNIT_NPC_EMOTESTATE) != 0))
plrMover->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_ONESHOT_NONE);
/* handle special cases */
if (movementInfo.transport.guid)
{