summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <trem.redman@gmail.com>2013-09-07 01:10:28 -0700
committerPaweł Redman <trem.redman@gmail.com>2013-09-07 01:10:28 -0700
commit13356a0041b9342b2ef2c3e63bb8b65d67fc49b1 (patch)
treeb0943d447cb66ef70f095a1732467f75cceff7aa /src
parent0945fe64d8c5491508f7798aaf33ab8ea0bca239 (diff)
parentc10a9dc20a03bc907ef2c8939dac31063da60632 (diff)
Merge pull request #2 from ZdrytchX/patch-2
Derp used wrong operator (my bad!)
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_pmove.c2
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 ];