summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_pmove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index be1a695..36f6d35 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -878,8 +878,8 @@ static qboolean PM_CheckJump( void )
//ZdrytchX: check for double-jump
if(pm->ps->stats[ STAT_STAMINA ] > 0 //derp doesn't have STAMINA_MIN_TO_JUMP :/
- || pm->ps->stats[ STAT_TEAM ] == pm->ps->stats[ STAT_TEAM ] == TEAM_ALIENS
- && !BG_ClassHasAbility( pm->ps->stats[ STAT_CLASS ], SCA_WALLJUMPER ) )
+ || ( pm->ps->stats[ STAT_TEAM ] == TEAM_ALIENS
+ && !BG_ClassHasAbility( pm->ps->stats[ STAT_CLASS ], SCA_WALLJUMPER ) ) )
//Trust me. You don't want marauders flying out of the map from 3 wall jumps.
if (cpm_pm_jump_z) {
if (pm->ps->persistant[PERS_JUMPTIME] > 0) {