Actually check for available maps correctly. Whoops!

This commit is contained in:
sphere 2020-04-02 16:07:38 +02:00
parent 99a5192872
commit 3074880ac1

View file

@ -7991,12 +7991,14 @@ static void M_SinglePlayerMenu(INT32 choice)
{
(void)choice;
if (M_GametypeHasLevels(LLM_RECORDATTACK))
levellistmode = LLM_RECORDATTACK;
if (M_PrepareLevelPlatter(-1, true))
SP_MainMenu[sprecordattack].status = (M_SecretUnlocked(SECRET_RECORDATTACK)) ? IT_CALL|IT_STRING : IT_SECRET;
else
SP_MainMenu[sprecordattack].status = IT_NOTHING|IT_DISABLED;
if (M_GametypeHasLevels(LLM_NIGHTSATTACK))
levellistmode = LLM_NIGHTSATTACK;
if (M_PrepareLevelPlatter(-1, true))
SP_MainMenu[spnightsmode].status = (M_SecretUnlocked(SECRET_NIGHTSMODE)) ? IT_CALL|IT_STRING : IT_SECRET;
else
SP_MainMenu[spnightsmode].status = IT_NOTHING|IT_DISABLED;