From 4bf238f9aec0157bcab38522d3a12b5490fba51a Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 7 Jan 2005 02:41:01 +0000 Subject: [PATCH] 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 --- engine/client/cl_input.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/engine/client/cl_input.c b/engine/client/cl_input.c index 13537d049..4a1f95333 100644 --- a/engine/client/cl_input.c +++ b/engine/client/cl_input.c @@ -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);