mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Minor clipping fix
git-svn-id: https://svn.eduke32.com/eduke32@8608 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ba7de01d7f
commit
b214a67853
1 changed files with 1 additions and 1 deletions
|
@ -4661,7 +4661,7 @@ void P_ProcessInput(int playerNum)
|
|||
// sectorLotag can be set to 0 later on, but the same block sets spritebridge to 1
|
||||
int sectorLotag = sector[pPlayer->cursectnum].lotag;
|
||||
int getZRangeClipDist = pPlayer->clipdist - GETZRANGECLIPDISTOFFSET;
|
||||
int getZRangeOffset = ((TEST_SYNC_KEY(playerBits, SK_CROUCH) || (sectorLotag == ST_1_ABOVE_WATER && pPlayer->spritebridge != 1)))
|
||||
int getZRangeOffset = (((TEST_SYNC_KEY(playerBits, SK_CROUCH) && pPlayer->on_ground && !pPlayer->jumping_toggle) || (sectorLotag == ST_1_ABOVE_WATER && pPlayer->spritebridge != 1)))
|
||||
? pPlayer->autostep_sbw
|
||||
: pPlayer->autostep;
|
||||
|
||||
|
|
Loading…
Reference in a new issue