]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
oops, didn't want this debug spam to be committed
[xonotic/darkplaces.git] / cl_input.c
index b16a7f274d213a8caa5532b3b7564d1a3653c865..af5289f58690c2ae48adebf1a4dba695966224b4 100644 (file)
@@ -1646,15 +1646,6 @@ void CL_ClientMovement_Replay(void)
                if (s.onground)
                        cl.onground = true;
        }
-
-       // react to onground state changes (for gun bob)
-       if (cl.onground)
-       {
-               if (!cl.oldonground)
-                       cl.hitgroundtime = cl.movecmd[0].time;
-               cl.lastongroundtime = cl.movecmd[0].time;
-       }
-       cl.oldonground = cl.onground;
 }
 
 static void QW_MSG_WriteDeltaUsercmd(sizebuf_t *buf, usercmd_t *from, usercmd_t *to)