mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-04 02:55:50 +03:00
Fixed typo with sv_echo_unknown_cmd
This commit is contained in:
parent
9845ae4dc3
commit
418450c7ce
@ -985,7 +985,7 @@ void EXT_FUNC Cmd_ExecuteString_internal(const char* cmdName, cmd_source_t src,
|
|||||||
if (g_pcls.state >= ca_connected)
|
if (g_pcls.state >= ca_connected)
|
||||||
Cmd_ForwardToServer();
|
Cmd_ForwardToServer();
|
||||||
#ifdef REHLDS_FIXES
|
#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);
|
Con_Printf("unknown command \"%s\"\n", cmdName);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user