diff options
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_sram.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/soh/src/code/z_sram.c b/soh/src/code/z_sram.c index fd2b5ebd9..1612c0fdc 100644 --- a/soh/src/code/z_sram.c +++ b/soh/src/code/z_sram.c @@ -220,8 +220,9 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) { gSaveContext.n64ddFlag = fileChooseCtx->n64ddFlag; - if (fileChooseCtx->questType[fileChooseCtx->buttonIndex] == 2 && strnlen(CVarGetString("gSpoilerLog", ""), 1) != 0) { - gSaveContext.questId = 2; + if (fileChooseCtx->questType[fileChooseCtx->buttonIndex] == QUEST_RANDOMIZER && + strnlen(CVarGetString("gSpoilerLog", ""), 1) != 0) { + gSaveContext.questId = QUEST_RANDOMIZER; Randomizer_InitSaveFile(); } |
