Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
TwelveEyes committed Jun 24, 2024
1 parent 8fb2609 commit 857ebe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/bg_pmove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ static qboolean PM_CheckJump( void )
return qfalse;
}

if ( pm->ps->gravity <= 0 )
/* if ( pm->ps->gravity <= 0 )
{//in low grav, you push in the dir you're facing as long as there is something behind you to shove off of
vec3_t forward, back;
trace_t trace;
Expand Down Expand Up @@ -1480,7 +1480,7 @@ static qboolean PM_CheckJump( void )
return qtrue;
}//else no surf close enough to push off of
}
else if ( pm->cmd.upmove > 0 //want to jump
else */ if ( pm->cmd.upmove > 0 //want to jump
&& pm->waterlevel < 2 //not in water above ankles
&& pm->ps->forcePowerLevel[FP_LEVITATION] > FORCE_LEVEL_0 //have force jump ability
&& !(pm->ps->pm_flags&PMF_JUMP_HELD)//not holding jump from a previous jump
Expand Down

0 comments on commit 857ebe9

Please sign in to comment.