From 17e1e34d8fac4e5ad38397c49d8b6e9f52f25b3f Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 12 Jul 2014 16:39:44 +0200 Subject: fix a nonsensical condition --- src/game/bg_pmove.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit