sync pmove stuff again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2338 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
997fa53005
commit
f51b6bbff6
1 changed files with 4 additions and 1 deletions
|
@ -269,7 +269,7 @@ int PM_StepSlideMove (qboolean in_air)
|
|||
if (!(blocked & BLOCKED_STEP))
|
||||
return blocked;
|
||||
|
||||
org = (pmove.velocity < 0) ? pmove.origin : original; // cryptic, eh?
|
||||
org = (originalvel[2] < 0) ? pmove.origin : original;
|
||||
VectorCopy (org, dest);
|
||||
dest[2] -= pm_stepheight;
|
||||
trace = PM_PlayerTrace (org, dest);
|
||||
|
@ -298,6 +298,9 @@ int PM_StepSlideMove (qboolean in_air)
|
|||
VectorCopy (trace.endpos, pmove.origin);
|
||||
}
|
||||
|
||||
if (in_air && originalvel[2] < 0)
|
||||
pmove.velocity[2] = 0;
|
||||
|
||||
PM_SlideMove ();
|
||||
|
||||
// press down the stepheight
|
||||
|
|
Loading…
Reference in a new issue