Skip to content

Commit

Permalink
Post-merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pepe20129 committed Jan 11, 2025
1 parent 14054e9 commit dff49ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion soh/soh/Enhancements/boss-rush/BossRush.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void BossRush_InitSave() {

// Sets all rando flags to false
// Boss Rush currently uses 2 randomizer flags (RAND_INF_DUNGEONS_DONE_SPIRIT_TEMPLE & RAND_INF_DUNGEONS_DONE_SHADOW_TEMPLE)
for (s32 i = 0; i < ARRAY_COUNT(gSaveContext.randomizerInf); i++) {
for (s32 i = 0; i < ARRAY_COUNT(gSaveContext.ship.randomizerInf); i++) {
gSaveContext.ship.randomizerInf[i] = 0;
}

Expand Down
2 changes: 1 addition & 1 deletion soh/soh/SaveManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ void SaveManager::InitFileNormal() {
gSaveContext.infTable[flag] = 0;
}
// Currently randomizer flags are accessible from all quests
for (int flag = 0; flag < ARRAY_COUNT(gSaveContext.randomizerInf); flag++) {
for (int flag = 0; flag < ARRAY_COUNT(gSaveContext.ship.randomizerInf); flag++) {
gSaveContext.ship.randomizerInf[flag] = 0;
}
gSaveContext.worldMapAreaData = 0;
Expand Down

0 comments on commit dff49ad

Please sign in to comment.