From f7425dd4d70dcd03891a4b774644f22452829bc6 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 28 Sep 2005 23:40:33 +0000 Subject: [PATCH] Fixed smartjump issues with csqc. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1393 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/client/cl_input.c b/engine/client/cl_input.c index 27be6ff60..4d2fe21b2 100644 --- a/engine/client/cl_input.c +++ b/engine/client/cl_input.c @@ -215,7 +215,7 @@ void IN_JumpDown (void) else #endif if (condition && cl.stats[pnum][STAT_HEALTH] > 0 && !cls.demoplayback && !cl.spectator && - cl.waterlevel[pnum] >= 2 && (!cl.teamfortress || !(in_forward.state[pnum] & 1)) + cl.frames[cl.validsequence&UPDATE_MASK].playerstate[cl.playernum[pnum]].messagenum == cl.validsequence && cl.waterlevel[pnum] >= 2 && (!cl.teamfortress || !(in_forward.state[pnum] & 1)) ) KeyDown(&in_up); else if (condition && cl.spectator && Cam_TrackNum(pnum) == -1) @@ -1178,6 +1178,7 @@ void CL_SendCmd (float frametime) if (!cl.allowsendpacket) return; msecs -= msecstouse; + CLNQ_SendCmd (); return; }