From 0d35c85d6d6372d8f95b9073f29f2e1255623ba3 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 24 May 2005 21:53:03 +0000 Subject: [PATCH] added onground clearing before each move so that going down slopes doesn't resemble a Road Runner cartoon git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5327 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cl_input.c b/cl_input.c index f926dd38..8c2e2343 100644 --- a/cl_input.c +++ b/cl_input.c @@ -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); -- 2.39.2