mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-23 06:35:33 -07:00
Updated rediscover loop to use MAX_ENTRANCE_RANDO_USED_INDEX.
This commit is contained in:
parent
7d92dd20cc
commit
cf62011bda
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ void CheckTrackerLoadGame(int32_t fileNum) {
|
||||||
if (Rando::Context::GetInstance()->GetOption(RSK_SHUFFLE_ENTRANCES).Get()) {
|
if (Rando::Context::GetInstance()->GetOption(RSK_SHUFFLE_ENTRANCES).Get()) {
|
||||||
Rando::Context::GetInstance()->GetEntranceShuffler()->ApplyEntranceOverrides();
|
Rando::Context::GetInstance()->GetEntranceShuffler()->ApplyEntranceOverrides();
|
||||||
|
|
||||||
for (s16 entranceIndex = 0; entranceIndex < ENTR_MAX; entranceIndex++) {
|
for (s16 entranceIndex = 0; entranceIndex < MAX_ENTRANCE_RANDO_USED_INDEX; entranceIndex++) {
|
||||||
if (IsEntranceDiscovered(entranceIndex)) {
|
if (IsEntranceDiscovered(entranceIndex)) {
|
||||||
Randomizer_EntranceDiscovered(entranceIndex, false);
|
Randomizer_EntranceDiscovered(entranceIndex, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue