mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Exhumed: Removed unneeded resetting of nDestVertPan
in doPlayerFloorDamage()
.
* Original game code below it was just resetting it anyway.
This commit is contained in:
parent
12b4f68f24
commit
7cfb5d9286
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue