mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-31 23:41:25 +00:00
I think that steps between 94 and 98 are wrong, remove them.
Predicting these steps leads to a heavily stuttering elevator in hangar1. I think that steps between 94 and 98 can't appear on stairs, so just remove them. If I'm wrong we need a hack to the hack ontop of the hack... ^^
This commit is contained in:
parent
6ff41e6b2f
commit
1bbd8c04ff
1 changed files with 3 additions and 2 deletions
|
@ -297,8 +297,9 @@ CL_PredictMovement(void)
|
|||
|
||||
step = pm.s.origin[2] - (int)(cl.predicted_origin[2] * 8);
|
||||
|
||||
if (((step > 62 && step < 66) || (step > 94 && step < 98) || (step > 126 && step < 130))
|
||||
&& !VectorCompare((float *)pm.s.velocity, vec3_origin) && (pm.s.pm_flags & PMF_ON_GROUND))
|
||||
if (((step > 62 && step < 66) || (step > 126 && step < 130))
|
||||
&& !VectorCompare((float *)pm.s.velocity, vec3_origin)
|
||||
&& (pm.s.pm_flags & PMF_ON_GROUND))
|
||||
{
|
||||
cl.predicted_step = step * 0.125f;
|
||||
cl.predicted_step_time = cls.realtime - (int)(cls.nframetime * 500);
|
||||
|
|
Loading…
Reference in a new issue