mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Exhumed: Remove unrequired !bUnderwater
check.
This commit is contained in:
parent
7fcf1c94a1
commit
ede15c3af2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue