From 7c558ae089d17259c41dafff12ef21b1a99d63fa Mon Sep 17 00:00:00 2001 From: Adam Bird Date: Wed, 8 Mar 2023 13:09:22 -0500 Subject: fix rando quest selection falling back to vanilla saves (#2599) --- soh/src/code/z_sram.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'soh/src/code') diff --git a/soh/src/code/z_sram.c b/soh/src/code/z_sram.c index 7e6486734..31cc8b5e2 100644 --- a/soh/src/code/z_sram.c +++ b/soh/src/code/z_sram.c @@ -298,9 +298,7 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) { gSaveContext.playerName[offset] = Save_GetSaveMetaInfo(fileChooseCtx->buttonIndex)->playerName[offset]; } - if (fileChooseCtx->questType[fileChooseCtx->buttonIndex] == 2 && strnlen(CVarGetString("gSpoilerLog", ""), 1) != 0 && - !((Save_GetSaveMetaInfo(fileChooseCtx->buttonIndex)->requiresMasterQuest && !ResourceMgr_GameHasMasterQuest()) || - (Save_GetSaveMetaInfo(fileChooseCtx->buttonIndex)->requiresMasterQuest && !ResourceMgr_GameHasOriginal()))) { + if (fileChooseCtx->questType[fileChooseCtx->buttonIndex] == 2 && strnlen(CVarGetString("gSpoilerLog", ""), 1) != 0) { // Set N64DD Flags for save file fileChooseCtx->n64ddFlags[fileChooseCtx->buttonIndex] = 1; fileChooseCtx->n64ddFlag = 1; -- cgit v1.2.3