- added a am_showalllines cheat CVAR as countermeasure for maps that intentionally disable the full automap.
SVN r2307 (trunk)
This commit is contained in:
parent
d070e04ff6
commit
1b0756e170
9 changed files with 59 additions and 12 deletions
|
|
@ -80,11 +80,11 @@ CCMD (toggleconsole)
|
|||
C_ToggleConsole();
|
||||
}
|
||||
|
||||
bool CheckCheatmode ()
|
||||
bool CheckCheatmode (bool printmsg)
|
||||
{
|
||||
if ((G_SkillProperty(SKILLP_DisableCheats) || netgame || deathmatch) && (!sv_cheats))
|
||||
{
|
||||
Printf ("sv_cheats must be true to enable this command.\n");
|
||||
if (printmsg) Printf ("sv_cheats must be true to enable this command.\n");
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue