mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-11 07:01:43 +00:00
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:
parent
5f2aa993de
commit
4bf238f9ae
1 changed files with 6 additions and 1 deletions
|
@ -983,11 +983,16 @@ void CL_SendCmd (void)
|
||||||
clientcount = cl.splitclients;
|
clientcount = cl.splitclients;
|
||||||
if (!clientcount)
|
if (!clientcount)
|
||||||
clientcount = 1;
|
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
|
#ifdef Q2CLIENT
|
||||||
if (cls.q2server)
|
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)
|
if (cls.resendinfo)
|
||||||
{
|
{
|
||||||
MSG_WriteByte (&cls.netchan.message, clcq2_userinfo);
|
MSG_WriteByte (&cls.netchan.message, clcq2_userinfo);
|
||||||
|
|
Loading…
Reference in a new issue