Added some missing SetFallInformation calls

Fixed HP drop bug on zeppelins
Fixed possible packet relocation problems on huge transports
This commit is contained in:
Aokromes committed 2017-02-17 09:39:09 +01:00
1 parent 00622f0ad9
commit 0748e7f820
5 files changed
+28 -4

No files matched your search

@@ -329,6 +329,7 @@ void FlightPathMovementGenerator::DoFinalize(Player* player)
// this prevent cheating with landing point at lags
// when client side flight end early in comparison server side
player->StopMoving();
player->SetFallInformation(0, player->GetPositionZ());
}
player->RemoveFlag(PLAYER_FLAGS, PLAYER_FLAGS_TAXI_BENCHMARK);