mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Use M_GametypeHasLevels again (properly this time) to save memory.
This commit is contained in:
parent
3074880ac1
commit
806884a3f4
1 changed files with 2 additions and 2 deletions
|
@ -7992,13 +7992,13 @@ static void M_SinglePlayerMenu(INT32 choice)
|
|||
(void)choice;
|
||||
|
||||
levellistmode = LLM_RECORDATTACK;
|
||||
if (M_PrepareLevelPlatter(-1, true))
|
||||
if (M_GametypeHasLevels(-1))
|
||||
SP_MainMenu[sprecordattack].status = (M_SecretUnlocked(SECRET_RECORDATTACK)) ? IT_CALL|IT_STRING : IT_SECRET;
|
||||
else
|
||||
SP_MainMenu[sprecordattack].status = IT_NOTHING|IT_DISABLED;
|
||||
|
||||
levellistmode = LLM_NIGHTSATTACK;
|
||||
if (M_PrepareLevelPlatter(-1, true))
|
||||
if (M_GametypeHasLevels(-1))
|
||||
SP_MainMenu[spnightsmode].status = (M_SecretUnlocked(SECRET_NIGHTSMODE)) ? IT_CALL|IT_STRING : IT_SECRET;
|
||||
else
|
||||
SP_MainMenu[spnightsmode].status = IT_NOTHING|IT_DISABLED;
|
||||
|
|
Loading…
Reference in a new issue