Core/Movement: Added Velocity field to waypoint_path table

Port From (https://github.com/TrinityCore/TrinityCore/commit/e8f7d4153622aea70ac74fb73e134d51cdac821d)
This commit is contained in:
Hondacrx
2024-08-04 16:40:44 -04:00
parent ff7e37f708
commit 65007add12
2 changed files with 16 additions and 1 deletions
@@ -430,6 +430,9 @@ namespace Game.Movement
break;
}
if (_path.Velocity.HasValue && !_speed.HasValue)
_speed = _path.Velocity;
if (_speed.HasValue)
init.SetVelocity(_speed.Value);