mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
bfb939161a
commit
60fee59c54
3 changed files with 3 additions and 3 deletions
|
|
@ -1908,7 +1908,7 @@ void D_SRB2Main(void)
|
|||
I_Error("Can't get first map of gametype\n");
|
||||
}
|
||||
|
||||
if (M_MapLocked(pstartmap))
|
||||
if (pstartmap != 1 && M_MapLocked(pstartmap))
|
||||
{
|
||||
G_SetUsedCheats();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2821,7 +2821,7 @@ static void Command_Map_f(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (M_MapLocked(newmapnum))
|
||||
if (/*newmapnum != 1 &&*/ M_MapLocked(newmapnum))
|
||||
{
|
||||
ischeating = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1851,7 +1851,7 @@ boolean M_MapLocked(UINT16 mapnum)
|
|||
if (marathonmode)
|
||||
return false;
|
||||
|
||||
if (mapnum <= 1 || mapnum > nummapheaders)
|
||||
if (mapnum == 0 || mapnum > nummapheaders)
|
||||
return false;
|
||||
|
||||
if (!mapheaderinfo[mapnum-1])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue