fix maps and compasses not being added to the pool (#6180)

This commit is contained in:
Pepper0ni
2026-01-20 15:39:03 +00:00
committed by GitHub
parent c360b2dee4
commit 9991a95ab1

View File

@@ -827,11 +827,11 @@ void GenerateItemPool() {
} else if (ctx->GetOption(RSK_SHUFFLE_MAPANDCOMPASS).IsNot(RO_DUNGEON_ITEM_LOC_STARTWITH)) {
for (auto dungeon : ctx->GetDungeons()->GetDungeonList()) {
if (dungeon->GetMap() != RG_NONE) {
AddFixedItemToPool(dungeon->GetMap(), false);
AddFixedItemToPool(dungeon->GetMap(), 1, false);
}
if (dungeon->GetCompass() != RG_NONE) {
AddFixedItemToPool(dungeon->GetCompass(), false);
AddFixedItemToPool(dungeon->GetCompass(), 1, false);
}
}
}