]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix another canjump tracking bug; STILL not good
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Sep 2011 21:00:50 +0000 (21:00 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Sep 2011 21:00:50 +0000 (21:00 +0000)
(but now the canjump flags in the move queue LOOK consistent, which makes it odd now)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11338 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index 5e5b5817ef12954927c46d7ca06aa2437b3444ae..fee3b1df1ee66735a1f7b1de6097a74ea3799d06 100644 (file)
@@ -1837,6 +1837,7 @@ void CL_SendMove(void)
                cl.cmd.forwardmove = cl.cmd.sidemove = cl.cmd.upmove = cl.cmd.impulse = cl.cmd.buttons = 0;
 
        cl.cmd.jump = (cl.cmd.buttons & 2) != 0;
+       cl.cmd.canjump = cl.movecmd[0].canjump;
        cl.cmd.crouch = 0;
        switch (cls.protocol)
        {