diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-12 16:39:44 +0200 |
---|---|---|
committer | enneract <trem.redman@gmail.com> | 2014-07-12 17:06:40 +0200 |
commit | 17e1e34d8fac4e5ad38397c49d8b6e9f52f25b3f (patch) | |
tree | 7c7c976c7b61dedfca927c8ff53c2ecb0f997788 /src | |
parent | 6f7401ea027a28db7dbfc981b0a23086f31fc920 (diff) |
fix a nonsensical condition
Diffstat (limited to 'src')
-rw-r--r-- | src/game/bg_pmove.c | 4 |
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) { |