Added some missing SetFallInformation calls

Port From (https://github.com/TrinityCore/TrinityCore/commit/cfefd27cb8171b7fe28781eb8f1d903272830f22)
This commit is contained in:
hondacrx
2019-08-17 12:54:12 -04:00
parent 0a29281557
commit a89ace13c8
6 changed files with 31 additions and 6 deletions
+3
View File
@@ -525,7 +525,10 @@ namespace Game.Movement
// don't run spline movement for players
if (_owner.IsTypeId(TypeId.Player))
{
_owner.ToPlayer().SetFallInformation(0, _owner.GetPositionZ());
return;
}
MoveSplineInit init = new MoveSplineInit(_owner);
init.MoveTo(_owner.GetPositionX(), _owner.GetPositionY(), tz, false);