Fix seed generation issues caused by Location Table changes (#4378)

This commit is contained in:
Pepper0ni 2024-10-02 17:36:58 +01:00 committed by GitHub
parent 0cfd535fe6
commit e36dcefe54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,20 +188,8 @@ void Context::ItemReset() {
} }
void Context::LocationReset() { void Context::LocationReset() {
for (const RandomizerCheck il : allLocations) { for (auto& il : itemLocationTable) {
GetItemLocation(il)->RemoveFromPool(); il.RemoveFromPool();
}
for (const RandomizerCheck il : StaticData::dungeonRewardLocations) {
GetItemLocation(il)->RemoveFromPool();
}
for (const RandomizerCheck il : StaticData::GetGossipStoneLocations()) {
GetItemLocation(il)->RemoveFromPool();
}
for (const RandomizerCheck il : StaticData::GetStaticHintLocations()) {
GetItemLocation(il)->RemoveFromPool();
} }
} }