Reenabled engclient_cmd code

This commit is contained in:
Pavol Marko 2004-07-25 18:45:44 +00:00
parent 26d5f430e2
commit 538876a82c

View File

@ -254,7 +254,7 @@ void UTIL_FakeClientCommand(edict_t *pEdict, const char *cmd, const char *arg1,
{
if (!cmd)
return; // no command
/*
char clCmd[256];
snprintf(g_fakecmd.args, 255, "%s%s%s%s%s", cmd,
arg1 ? " " : "", arg1 ? arg1 : "",
@ -262,8 +262,7 @@ void UTIL_FakeClientCommand(edict_t *pEdict, const char *cmd, const char *arg1,
clCmd[255] = 0;
CLIENT_COMMAND(pEdict, clCmd);
return;
#if 0
/*
*/
if (!cmd)
return; // no command
@ -307,6 +306,4 @@ void UTIL_FakeClientCommand(edict_t *pEdict, const char *cmd, const char *arg1,
MDLL_ClientCommand(pEdict);
// unset the global "fake" flag
g_fakecmd.fake = false;
*/
#endif
}