From 7bd5d291cee7bfa0795c32da94627d2585635b04 Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 5 Dec 2019 18:40:30 +0000 Subject: [PATCH] Fix unlockable checklist literally hanging if any unlockables are cleared. --- src/m_menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/m_menu.c b/src/m_menu.c index edba61f30..bd96b5d0d 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -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)));