Added some missing SetFallInformation calls (#19121)

Fixed HP drop bug on zeppelins
Fixed possible packet relocation problems on huge transports
This commit is contained in:
xinef1
2017-02-13 21:05:32 +01:00
committed by Shauren
parent 2412886ef6
commit b3f04ec157
6 changed files with 31 additions and 4 deletions

View File

@@ -585,7 +585,10 @@ void MotionMaster::MoveFall(uint32 id /*=0*/)
// don't run spline movement for players
if (_owner->GetTypeId() == TYPEID_PLAYER)
{
_owner->ToPlayer()->SetFallInformation(0, _owner->GetPositionZ());
return;
}
Movement::MoveSplineInit init(_owner);
init.MoveTo(_owner->GetPositionX(), _owner->GetPositionY(), tz, false);