mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-11 04:20:51 +00:00
Add sv_cheats cvar for 2021 rerelease
e.g. impulse 255 doesn't work without sv_cheats set to 1
This commit is contained in:
parent
e4e914c8a6
commit
b26707b2ff
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ cvar_t devstats = {"devstats","0",CVAR_NONE}; //johnfitz -- track developer stat
|
|||
|
||||
cvar_t campaign = {"campaign","0",CVAR_NONE}; // for the 2021 rerelease
|
||||
cvar_t horde = {"horde","0",CVAR_NONE}; // for the 2021 rerelease
|
||||
cvar_t sv_cheats = {"sv_cheats","0",CVAR_NONE}; // for the 2021 rerelease
|
||||
|
||||
devstats_t dev_stats, dev_peakstats;
|
||||
overflowtimes_t dev_overflows; //this stores the last time overflow messages were displayed, not the last time overflows occured
|
||||
|
@ -286,6 +287,7 @@ void Host_InitLocal (void)
|
|||
|
||||
Cvar_RegisterVariable (&campaign);
|
||||
Cvar_RegisterVariable (&horde);
|
||||
Cvar_RegisterVariable (&sv_cheats);
|
||||
|
||||
Cvar_RegisterVariable (&pausable);
|
||||
|
||||
|
|
Loading…
Reference in a new issue