- added a am_showalllines cheat CVAR as countermeasure for maps that intentionally disable the full automap.

SVN r2307 (trunk)
This commit is contained in:
Christoph Oelckers 2010-05-01 17:29:25 +00:00
commit 1b0756e170
9 changed files with 59 additions and 12 deletions

View file

@ -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