From: havoc Date: Tue, 24 May 2005 21:53:03 +0000 (+0000) Subject: added onground clearing before each move so that going down slopes doesn't resemble... X-Git-Tag: xonotic-v0.1.0preview~4854 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d35c85d6d6372d8f95b9073f29f2e1255623ba3;p=xonotic%2Fdarkplaces.git 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 --- 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);