This fixes an ugly bug caused by a bug in the ugly netquake step up smoothing code :)

This commit is contained in:
Anton E. Gavrilov 2000-12-15 12:18:54 +00:00
parent ea2a5c6f3e
commit 32910a1b5f
3 changed files with 5 additions and 2 deletions

View file

@ -734,7 +734,7 @@ V_CalcRefdef (void)
r_refdef.viewangles[PITCH] += cl.punchangle;
// smooth out stair step ups
if ((view_message->onground != -1) && (cl.simorg[2] - oldz > 0)) {
if ((cl.onground != -1) && (cl.simorg[2] - oldz > 0)) {
float steptime;
steptime = host_frametime;