Added some missing SetFallInformation calls
Port From (https://github.com/TrinityCore/TrinityCore/commit/cfefd27cb8171b7fe28781eb8f1d903272830f22)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user