mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
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)
|
if (!cmd)
|
||||||
return; // no command
|
return; // no command
|
||||||
|
/*
|
||||||
char clCmd[256];
|
char clCmd[256];
|
||||||
snprintf(g_fakecmd.args, 255, "%s%s%s%s%s", cmd,
|
snprintf(g_fakecmd.args, 255, "%s%s%s%s%s", cmd,
|
||||||
arg1 ? " " : "", arg1 ? arg1 : "",
|
arg1 ? " " : "", arg1 ? arg1 : "",
|
||||||
@ -262,8 +262,7 @@ void UTIL_FakeClientCommand(edict_t *pEdict, const char *cmd, const char *arg1,
|
|||||||
clCmd[255] = 0;
|
clCmd[255] = 0;
|
||||||
CLIENT_COMMAND(pEdict, clCmd);
|
CLIENT_COMMAND(pEdict, clCmd);
|
||||||
return;
|
return;
|
||||||
#if 0
|
*/
|
||||||
/*
|
|
||||||
if (!cmd)
|
if (!cmd)
|
||||||
return; // no command
|
return; // no command
|
||||||
|
|
||||||
@ -307,6 +306,4 @@ void UTIL_FakeClientCommand(edict_t *pEdict, const char *cmd, const char *arg1,
|
|||||||
MDLL_ClientCommand(pEdict);
|
MDLL_ClientCommand(pEdict);
|
||||||
// unset the global "fake" flag
|
// unset the global "fake" flag
|
||||||
g_fakecmd.fake = false;
|
g_fakecmd.fake = false;
|
||||||
*/
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user