diff options
author | Paweł Redman <trem.redman@gmail.com> | 2013-09-07 01:10:28 -0700 |
---|---|---|
committer | Paweł Redman <trem.redman@gmail.com> | 2013-09-07 01:10:28 -0700 |
commit | 13356a0041b9342b2ef2c3e63bb8b65d67fc49b1 (patch) | |
tree | b0943d447cb66ef70f095a1732467f75cceff7aa /src/game | |
parent | 0945fe64d8c5491508f7798aaf33ab8ea0bca239 (diff) | |
parent | c10a9dc20a03bc907ef2c8939dac31063da60632 (diff) |
Merge pull request #2 from ZdrytchX/patch-2
Derp used wrong operator (my bad!)
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_pmove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index fe25947..3b53dc9 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -2293,7 +2293,7 @@ static void PM_GroundTrace( void ) qboolean steppedDown = qfalse; // try to step down - if( pml.groundPlane != qfalse && PM_PredictStepMove( ) && pm->ps->velocity[ 2 ] > 0.0f ) + if( pml.groundPlane != qfalse && PM_PredictStepMove( ) && pm->ps->velocity[ 2 ] <= 0.0f ) { //step down point[ 0 ] = pm->ps->origin[ 0 ]; |