fixes aerowalk lifts (broken since my gravitydir stuff apparently).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4026 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-04-23 18:40:10 +00:00
parent 8fa45f2c65
commit e81a0f68e3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}