Fixed smartjump issues with csqc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1393 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-28 23:40:33 +00:00
parent 8af4819804
commit f7425dd4d7
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}