mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 06:29:50 -04:00
Core/Movement: Defined movement force type enum
This commit is contained in:
@@ -12731,7 +12731,7 @@ void Unit::SendSetVehicleRecId(uint32 vehicleId)
|
||||
SendMessageToSet(setVehicleRec.Write(), true);
|
||||
}
|
||||
|
||||
void Unit::ApplyMovementForce(ObjectGuid id, Position origin, float magnitude, uint8 type, Position direction /*= {}*/, ObjectGuid transportGuid /*= ObjectGuid::Empty*/)
|
||||
void Unit::ApplyMovementForce(ObjectGuid id, Position origin, float magnitude, MovementForceType type, Position direction /*= {}*/, ObjectGuid transportGuid /*= ObjectGuid::Empty*/)
|
||||
{
|
||||
if (!_movementForces)
|
||||
_movementForces = std::make_unique<MovementForces>();
|
||||
|
||||
Reference in New Issue
Block a user