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
This commit is contained in:
committed by
Giacomo Pozzoni
parent
49dc8a8e44
commit
cc1a520299
@@ -26,6 +26,7 @@
|
||||
#include "MapManager.h"
|
||||
#include "MotionMaster.h"
|
||||
#include "MovementGenerator.h"
|
||||
#include "MoveSpline.h"
|
||||
#include "Transport.h"
|
||||
#include "Battleground.h"
|
||||
#include "InstanceSaveMgr.h"
|
||||
@@ -293,6 +294,12 @@ void WorldSession::HandleMovementOpcodes(WorldPacket& recvData)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mover->movespline->Finalized())
|
||||
{
|
||||
recvData.rfinish(); // prevent warnings spam
|
||||
return;
|
||||
}
|
||||
|
||||
/* handle special cases */
|
||||
if (movementInfo.HasMovementFlag(MOVEMENTFLAG_ONTRANSPORT))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user