add a FIXME comment regarding canjump, will check that later
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Sep 2011 11:22:49 +0000 (11:22 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Sep 2011 11:22:49 +0000 (11:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11336 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index d449bdf..d357c11 100644 (file)
@@ -1610,6 +1610,8 @@ void CL_ClientMovement_Replay(void)
                        s.cmd = cl.movecmd[i];
                        if (i < CL_MAX_USERCMDS - 1)
                                s.cmd.canjump = cl.movecmd[i+1].canjump;
+                               // FIXME doesn't this read from unused slots? shouldn't this rather be limited to the initial value of i?
+
                        // if a move is more than 50ms, do it as two moves (matching qwsv)
                        //Con_Printf("%i ", s.cmd.msec);
                        if(s.cmd.frametime > 0.0005)