Commit 2db56a30 authored by Dino Bollinger's avatar Dino Bollinger

Duke3D: This should fix players being able to superjump out of water

parent bf0ff6cf
......@@ -5318,7 +5318,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)
{
......
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