mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user