Don't smooth half height steps

This step height is used by several evelators, leading to stuttering due
to misspredictions. Additionally half height steps weren't smoothed by
the synchronous client.
This commit is contained in:
Yamagi Burmeister 2016-08-29 19:00:51 +02:00
parent 31c564a030
commit 7f996cc29e

View file

@ -297,7 +297,7 @@ CL_PredictMovement(void)
step = pm.s.origin[2] - (int)(cl.predicted_origin[2] * 8); step = pm.s.origin[2] - (int)(cl.predicted_origin[2] * 8);
if (((step > 62 && step < 66) || (step > 126 && step < 130)) if (((step > 126 && step < 130))
&& !VectorCompare((float *)pm.s.velocity, vec3_origin) && !VectorCompare((float *)pm.s.velocity, vec3_origin)
&& (pm.s.pm_flags & PMF_ON_GROUND)) && (pm.s.pm_flags & PMF_ON_GROUND))
{ {