Added 'NoKeyboardCheats' option to IWADINFO

This is useful for IWADs that do not want to use the hardcoded engine cheats. This can still be overriden with the 'allcheats' CVAR
This commit is contained in:
PaulyB 2019-11-13 03:58:27 -08:00 committed by Christoph Oelckers
commit a74be69371
5 changed files with 8 additions and 1 deletions

View file

@ -128,6 +128,10 @@ void FIWadManager::ParseIWadInfo(const char *fn, const char *data, int datasize,
sc.MustGetString();
iwad->MapInfo = sc.String;
}
else if (sc.Compare("NoKeyboardCheats"))
{
iwad->nokeyboardcheats = true;
}
else if (sc.Compare("Compatibility"))
{
sc.MustGetStringName("=");