Core/Movement: Defined movement force type enum

Port From (https://github.com/TrinityCore/TrinityCore/commit/e2de5000acba888e2ae3177893f6063340902ffd)
This commit is contained in:
hondacrx
2021-12-10 17:33:33 -05:00
parent 3c6f584f33
commit f77b631422
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -1481,7 +1481,7 @@ namespace Game.Entities
public MovementForces GetMovementForces() { return _movementForces; }
void ApplyMovementForce(ObjectGuid id, Vector3 origin, float magnitude, byte type, Vector3 direction, ObjectGuid transportGuid = default)
void ApplyMovementForce(ObjectGuid id, Vector3 origin, float magnitude, MovementForceType type, Vector3 direction, ObjectGuid transportGuid = default)
{
if (_movementForces == null)
_movementForces = new MovementForces();