From 418450c7ce128327cede3ed6e61e3e52618b6886 Mon Sep 17 00:00:00 2001 From: asmodai Date: Sun, 27 Dec 2015 03:59:57 +0300 Subject: [PATCH] Fixed typo with sv_echo_unknown_cmd --- rehlds/engine/cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/cmd.cpp b/rehlds/engine/cmd.cpp index 9d4d128..518eea6 100644 --- a/rehlds/engine/cmd.cpp +++ b/rehlds/engine/cmd.cpp @@ -985,7 +985,7 @@ void EXT_FUNC Cmd_ExecuteString_internal(const char* cmdName, cmd_source_t src, if (g_pcls.state >= ca_connected) Cmd_ForwardToServer(); #ifdef REHLDS_FIXES - else if (sv_echo_unknown_cmd.string[0] == '2' || (sv_echo_unknown_cmd.string[1] == '1' && src == src_command)) + else if (sv_echo_unknown_cmd.string[0] == '1' && src == src_command) Con_Printf("unknown command \"%s\"\n", cmdName); #endif }