]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
added onground clearing before each move so that going down slopes doesn't resemble...
[xonotic/darkplaces.git] / cl_input.c
index f926dd38b720864210bbab4ba7b37b5db846ffb8..8c2e234335d199fcc636f58e04f480af25d0cf6b 100644 (file)
@@ -707,6 +707,7 @@ void CL_ClientMovement(qboolean buttonjump, qboolean buttoncrouch)
                                playermins = cl_playerstandmins;
                                playermaxs = cl_playerstandmaxs;
                        }
+                       onground = false;
                        for (bump = 0, t = frametime;bump < 8 && VectorLength2(currentvelocity) > 0;bump++)
                        {
                                VectorMA(currentorigin, t, currentvelocity, neworigin);