2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00

Merge pull request #112 from theAsmodai/master

Fixed typo with sv_echo_unknown_cmd
This commit is contained in:
theAsmodai 2015-12-27 04:10:40 +03:00
commit 979450a7a3

View File

@ -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
}