Core/Movement: Added Velocity field to waypoint_path table
Port From (https://github.com/TrinityCore/TrinityCore/commit/e8f7d4153622aea70ac74fb73e134d51cdac821d)
This commit is contained in:
@@ -430,6 +430,9 @@ namespace Game.Movement
|
||||
break;
|
||||
}
|
||||
|
||||
if (_path.Velocity.HasValue && !_speed.HasValue)
|
||||
_speed = _path.Velocity;
|
||||
|
||||
if (_speed.HasValue)
|
||||
init.SetVelocity(_speed.Value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user