fixed the netchan stuff for uquake

This commit is contained in:
Bill Currie 2000-01-29 02:53:28 +00:00
parent 6f213c8342
commit b87a49e6ba

View file

@ -627,6 +627,7 @@ void Cmd_ForwardToServer (void)
if (cls.demoplayback) if (cls.demoplayback)
return; // not really connected return; // not really connected
#ifdef QUAKEWORLD
MSG_WriteByte (&cls.netchan.message, clc_stringcmd); MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
SZ_Print (&cls.netchan.message, Cmd_Argv(0)); SZ_Print (&cls.netchan.message, Cmd_Argv(0));
if (Cmd_Argc() > 1) if (Cmd_Argc() > 1)
@ -634,6 +635,7 @@ void Cmd_ForwardToServer (void)
SZ_Print (&cls.netchan.message, " "); SZ_Print (&cls.netchan.message, " ");
SZ_Print (&cls.netchan.message, Cmd_Args()); SZ_Print (&cls.netchan.message, Cmd_Args());
} }
#endif
} }
// don't forward the first argument // don't forward the first argument
@ -655,8 +657,10 @@ void Cmd_ForwardToServer_f (void)
if (Cmd_Argc() > 1) if (Cmd_Argc() > 1)
{ {
#ifdef QUAKEWORLD
MSG_WriteByte (&cls.netchan.message, clc_stringcmd); MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
SZ_Print (&cls.netchan.message, Cmd_Args()); SZ_Print (&cls.netchan.message, Cmd_Args());
#endif
} }
} }
#else #else