From 538876a82c8142f7ffb792597c6d2075a3943b2b Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Sun, 25 Jul 2004 18:45:44 +0000 Subject: [PATCH] Reenabled engclient_cmd code --- amxmodx/util.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/amxmodx/util.cpp b/amxmodx/util.cpp index 4f330909..8672ef57 100755 --- a/amxmodx/util.cpp +++ b/amxmodx/util.cpp @@ -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 }