mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
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 cc1a520299)
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