mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
fixed the netchan stuff for uquake
This commit is contained in:
parent
6f213c8342
commit
b87a49e6ba
1 changed files with 4 additions and 0 deletions
|
@ -627,6 +627,7 @@ void Cmd_ForwardToServer (void)
|
|||
if (cls.demoplayback)
|
||||
return; // not really connected
|
||||
|
||||
#ifdef QUAKEWORLD
|
||||
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
||||
SZ_Print (&cls.netchan.message, Cmd_Argv(0));
|
||||
if (Cmd_Argc() > 1)
|
||||
|
@ -634,6 +635,7 @@ void Cmd_ForwardToServer (void)
|
|||
SZ_Print (&cls.netchan.message, " ");
|
||||
SZ_Print (&cls.netchan.message, Cmd_Args());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// don't forward the first argument
|
||||
|
@ -655,8 +657,10 @@ void Cmd_ForwardToServer_f (void)
|
|||
|
||||
if (Cmd_Argc() > 1)
|
||||
{
|
||||
#ifdef QUAKEWORLD
|
||||
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
||||
SZ_Print (&cls.netchan.message, Cmd_Args());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue