Q2 has a button flag ANYBUTTON which actually occurs when any user presses any button at all. Which is pretty horrible really, as going to console ends intermission for all other users. :( We only set the flag if attack or jump is pressed. You can use +button8 for just anybutton still, if it's a problem in some way.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@744 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-07 02:41:01 +00:00
parent 5f2aa993de
commit 4bf238f9ae

View file

@ -983,11 +983,16 @@ void CL_SendCmd (void)
clientcount = cl.splitclients;
if (!clientcount)
clientcount = 1;
if (1) //wait for server data before sending clc_move stuff
if (1) //wait for server data before sending clc_move stuff? nope, mvdsv doesn't like that.
{
#ifdef Q2CLIENT
if (cls.q2server)
{
i = cls.netchan.outgoing_sequence & UPDATE_MASK;
cmd = &cl.frames[i].cmd[plnum];
if (cmd->buttons)
cmd->buttons |= 128;
if (cls.resendinfo)
{
MSG_WriteByte (&cls.netchan.message, clcq2_userinfo);