diff options
| author | Adam Bird <Archez@users.noreply.github.com> | 2023-03-08 13:09:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-08 13:09:22 -0500 |
| commit | 7c558ae089d17259c41dafff12ef21b1a99d63fa (patch) | |
| tree | 1f61898dfe01383838589e728c61f2b77d754216 /soh/src/code | |
| parent | 60f4f71495a03deae30204f2a03c028bd03f161f (diff) | |
fix rando quest selection falling back to vanilla saves (#2599)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_sram.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |
