Reenabled engclient_cmd code
This commit is contained in:
parent
26d5f430e2
commit
538876a82c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user