Core/Movement: Fix Warrior's Charge launch visual while jumping backw… (#23243)
* Core/Movement: Fix Warrior's Charge launch visual while jumping backwards By Natureknight * fix no-pch (cherry picked from commit cc1a5202995b2c70eb2d0d4af36c593011234e35)
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "SpellInfo.h"
|
||||
#include "MotionMaster.h"
|
||||
#include "MovementGenerator.h"
|
||||
#include "MoveSpline.h"
|
||||
#include "Transport.h"
|
||||
#include "Vehicle.h"
|
||||
#include "SpellMgr.h"
|
||||
@@ -324,6 +325,9 @@ void WorldSession::HandleMovementOpcode(OpcodeClient opcode, MovementInfo& movem
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mover->movespline->Finalized())
|
||||
return;
|
||||
|
||||
// stop some emotes at player move
|
||||
if (plrMover && (plrMover->GetEmoteState() != 0))
|
||||
plrMover->SetEmoteState(EMOTE_ONESHOT_NONE);
|
||||
|
||||
Reference in New Issue
Block a user