Merge branch 'develop-rando' of https://github.com/HarbourMasters/Shipwright into rando-hint-bugfixes

This commit is contained in:
Christopher Leggett 2024-03-20 18:25:09 -04:00
commit 091258ad19
No known key found for this signature in database
GPG Key ID: 7093AE5FF7037D79
1 changed files with 1 additions and 1 deletions

View File

@ -893,7 +893,7 @@ static void RandomizeDungeonItems() {
std::vector<RandomizerGet> overworldItems;
for (auto dungeon : ctx->GetDungeons()->GetDungeonList()) {
if (ctx->GetOption(RSK_KEYSANITY).Is(RO_DUNGEON_ITEM_LOC_OWN_DUNGEON)) {
if (ctx->GetOption(RSK_KEYSANITY).Is(RO_DUNGEON_ITEM_LOC_ANY_DUNGEON)) {
auto dungeonKeys = FilterAndEraseFromPool(ItemPool, [dungeon](const RandomizerGet i){return (i == dungeon->GetSmallKey()) || (i == dungeon->GetKeyRing());});
AddElementsToPool(anyDungeonItems, dungeonKeys);
} else if (ctx->GetOption(RSK_KEYSANITY).Is(RO_DUNGEON_ITEM_LOC_OVERWORLD)) {