Commit 1e203ddc authored by Richard Gobeille's avatar Richard Gobeille

Fix another clipping problem underwater

From-SVN: r7470
parent 3a640632
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment