From: divverent Date: Fri, 9 Sep 2011 11:22:49 +0000 (+0000) Subject: add a FIXME comment regarding canjump, will check that later X-Git-Tag: xonotic-v0.6.0~163^2~216 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=559d94c4f673b43ab58e1dc673b4c82c61f6f73b add a FIXME comment regarding canjump, will check that later git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11336 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index d449bdf6..d357c115 100644 --- a/cl_input.c +++ b/cl_input.c @@ -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)