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:
commit
979450a7a3
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user