- Exhumed: Removed unneeded resetting of nDestVertPan in doPlayerFloorDamage().

* Original game code below it was just resetting it anyway.
This commit is contained in:
Mitchell Richters 2023-03-25 19:01:55 +11:00
parent 12b4f68f24
commit 7cfb5d9286

View file

@ -1272,9 +1272,6 @@ static void doPlayerFloorDamage(Player* const pPlayer)
const auto pPlayerActor = pPlayer->pActor;
pPlayer->nThrust /= 2;
if (pPlayer->nPlayer == nLocalPlayer && abs(pPlayerActor->vel.Z) > 2)
pPlayer->nDestVertPan = nullAngle;
if (pPlayerActor->vel.Z >= 6500 / 256.)
{
pPlayerActor->vel.XY() *= 0.25;