properly clear location subcatagories when generating a seed (#5707)
This commit is contained in:
@@ -161,6 +161,10 @@ bool Context::IsQuestOfLocationActive(RandomizerCheck rc) {
|
||||
|
||||
void Context::GenerateLocationPool() {
|
||||
allLocations.clear();
|
||||
overworldLocations.clear();
|
||||
for (auto dungeon : ctx->GetDungeons()->GetDungeonList()) {
|
||||
dungeon->locations.clear();
|
||||
}
|
||||
for (Location& location : StaticData::GetLocationTable()) {
|
||||
// skip RCs that shouldn't be in the pool for any reason (i.e. settings, unsupported check type, etc.)
|
||||
// TODO: Exclude checks for some of the older shuffles from the pool too i.e. Frog Songs, Scrubs, etc.)
|
||||
|
||||
Reference in New Issue
Block a user