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:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user