- Exhumed: Remove unrequired !bUnderwater check.

This commit is contained in:
Mitchell Richters 2021-01-05 17:13:22 +11:00
parent 7fcf1c94a1
commit ede15c3af2

View file

@ -1167,7 +1167,7 @@ void FuncPlayer(int a, int nDamage, int nRun)
} }
sectdone: sectdone:
if (!bUnderwater || !PlayerList[nPlayer].horizon.horiz.asbuild() || PlayerList[nPlayer].bIsFalling) if (!PlayerList[nPlayer].horizon.horiz.asbuild() || PlayerList[nPlayer].bIsFalling)
{ {
// Calculate base pan amount based on how much the player is falling. // Calculate base pan amount based on how much the player is falling.
fixed_t dVertPan = (spr_z - sprite[nPlayerSprite].z) << 9; fixed_t dVertPan = (spr_z - sprite[nPlayerSprite].z) << 9;