mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 15:21:44 +00:00
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:
parent
31c564a030
commit
7f996cc29e
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue