This isn't vanilla, don't be a shit about secrets and addfile (plus it helps that this fixes a crash)

This commit is contained in:
toaster 2018-09-09 15:17:41 +01:00
parent c15fcaf51d
commit afec11f84e

View file

@ -4787,8 +4787,8 @@ static void M_HandleAddons(INT32 choice)
{ {
closefilemenu(true); closefilemenu(true);
// secrets disabled by addfile... // Secret menu!
MainMenu[secrets].status = (M_AnySecretUnlocked()) ? (IT_STRING | IT_CALL) : (IT_DISABLED); //MainMenu[secrets].status = (M_AnySecretUnlocked()) ? (IT_STRING | IT_CALL) : (IT_DISABLED);
if (currentMenu->prevMenu) if (currentMenu->prevMenu)
M_SetupNextMenu(currentMenu->prevMenu); M_SetupNextMenu(currentMenu->prevMenu);