Fix another clipping problem underwater

git-svn-id: https://svn.eduke32.com/eduke32@7470 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-03-30 21:12:07 +00:00 committed by Christoph Oelckers
parent b7160bf27c
commit 24f43fe5a1

View file

@ -4678,7 +4678,7 @@ void P_ProcessInput(int playerNum)
int32_t floorZ, ceilZ, highZhit, lowZhit, dummy;
if (pPlayer->opos.z <= actor[pPlayer->i].ceilingz + PMINHEIGHT || pPlayer->opos.z >= actor[pPlayer->i].floorz - PMINHEIGHT)
if (pPlayer->pos.z < actor[pPlayer->i].ceilingz + PMINHEIGHT || pPlayer->pos.z > actor[pPlayer->i].floorz - PMINHEIGHT)
stepHeight = 0;
#if 0