Fix unlockable checklist literally hanging if any unlockables are cleared.

This commit is contained in:
toaster 2019-12-05 18:40:30 +00:00
parent 7f6c98f046
commit 7bd5d291ce
1 changed files with 3 additions and 0 deletions

View File

@ -6686,7 +6686,10 @@ static void M_DrawChecklist(void)
{
if (unlockables[i].name[0] == 0 //|| unlockables[i].nochecklist
|| !unlockables[i].conditionset || unlockables[i].conditionset > MAXCONDITIONSETS)
{
i += 1;
continue;
}
V_DrawString(currentMenu->x, y, ((unlockables[i].unlocked) ? V_GREENMAP : V_TRANSLUCENT)|V_ALLOWLOWERCASE, ((unlockables[i].unlocked || !unlockables[i].nochecklist) ? unlockables[i].name : M_CreateSecretMenuOption(unlockables[i].name)));