Adjust Test Run's exceptions for lock checks

- Revert the blanket exception so Lost and Found won't always have it available
- Won't be considered cheating to go to Test Run on game boot even if not unlocked
- Made the lack of exception for Test Run in Command_Map_f's cheat check more intentional
This commit is contained in:
toaster 2023-03-13 17:28:55 +00:00
parent bfb939161a
commit 60fee59c54
3 changed files with 3 additions and 3 deletions

View file

@ -1908,7 +1908,7 @@ void D_SRB2Main(void)
I_Error("Can't get first map of gametype\n"); I_Error("Can't get first map of gametype\n");
} }
if (M_MapLocked(pstartmap)) if (pstartmap != 1 && M_MapLocked(pstartmap))
{ {
G_SetUsedCheats(); G_SetUsedCheats();
} }

View file

@ -2821,7 +2821,7 @@ static void Command_Map_f(void)
return; return;
} }
if (M_MapLocked(newmapnum)) if (/*newmapnum != 1 &&*/ M_MapLocked(newmapnum))
{ {
ischeating = true; ischeating = true;
} }

View file

@ -1851,7 +1851,7 @@ boolean M_MapLocked(UINT16 mapnum)
if (marathonmode) if (marathonmode)
return false; return false;
if (mapnum <= 1 || mapnum > nummapheaders) if (mapnum == 0 || mapnum > nummapheaders)
return false; return false;
if (!mapheaderinfo[mapnum-1]) if (!mapheaderinfo[mapnum-1])