mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Duke3D: This should fix players being able to superjump out of water
This commit is contained in:
parent
9c2c1cc765
commit
d3b6991846
1 changed files with 1 additions and 1 deletions
|
@ -5345,7 +5345,7 @@ void P_ProcessInput(int playerNum)
|
|||
|
||||
getzrange(&pPlayer->pos, pPlayer->cursectnum, &ceilZ2, &dummy, &floorZ2, &dummy, getZRangeClipDist, CLIPMASK0);
|
||||
|
||||
if (klabs(floorZ2-ceilZ2) > (48<<8))
|
||||
if (!pPlayer->jumping_counter && klabs(floorZ2-ceilZ2) > (48<<8))
|
||||
{
|
||||
if (VM_OnEvent(EVENT_JUMP,pPlayer->i,playerNum) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue