diff --git a/src/server/game/Entities/Object/MovementInfo.h b/src/server/game/Entities/Object/MovementInfo.h index ba22f7e4454..3eeed926ade 100644 --- a/src/server/game/Entities/Object/MovementInfo.h +++ b/src/server/game/Entities/Object/MovementInfo.h @@ -92,12 +92,26 @@ struct MovementInfo // advflying struct AdvFlying { + AdvFlying() : forwardVelocity(0.0f), upVelocity(0.0f) {} + float forwardVelocity; float upVelocity; }; + struct Drive + { + Drive() : speed(0.0f), movementAngle(0.0f), accelerating(false), drifting(false) {} + + float speed; + float movementAngle; + bool accelerating; + bool drifting; + }; + Optional advFlying; + Optional driveStatus; + Optional standingOnGameObjectGUID; uint32 GetMovementFlags() const { return flags; }