mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
use 0 instead of sv_highchars when setting the *cheats serverinfo,
since sv_highchars isn't initialized at that point.
This commit is contained in:
parent
a290afd2b5
commit
f9f1e053a4
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ SV_InitOperatorCommands (void)
|
||||||
if (COM_CheckParm ("-cheats")) {
|
if (COM_CheckParm ("-cheats")) {
|
||||||
sv_allow_cheats = true;
|
sv_allow_cheats = true;
|
||||||
Info_SetValueForStarKey (svs.info, "*cheats", "ON",
|
Info_SetValueForStarKey (svs.info, "*cheats", "ON",
|
||||||
MAX_SERVERINFO_STRING, !sv_highchars->int_val);
|
MAX_SERVERINFO_STRING, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
Cmd_AddCommand ("logfile", SV_Logfile_f, "Toggles logging of console text to qconsole.log");
|
Cmd_AddCommand ("logfile", SV_Logfile_f, "Toggles logging of console text to qconsole.log");
|
||||||
|
|
Loading…
Reference in a new issue