diff --git a/engine/common/pmove.c b/engine/common/pmove.c index 0de0e66ac..e6fbfc1a0 100644 --- a/engine/common/pmove.c +++ b/engine/common/pmove.c @@ -739,7 +739,7 @@ void PM_CategorizePosition (void) VectorAdd(pmove.origin, pmove.gravitydir, point); trace.startsolid = trace.allsolid = true; VectorClear(trace.endpos); - if (DotProduct(pmove.gravitydir, pmove.velocity) > 180) + if (-DotProduct(pmove.gravitydir, pmove.velocity) > 180) { pmove.onground = false; }