Fixes some Spoiler Parsing Bugs (#3759)

* Fixes bug causing dropped spoiler not to be parsed.

* Fixes bugs with parsing enabled tricks

* Fixes bugs with parsing excluded locations.

* Fixes bugs parsing the Bombchu Drops setting
This commit is contained in:
Christopher Leggett 2023-12-30 12:10:31 -05:00 committed by GitHub
commit dbb1e60734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 203 additions and 193 deletions

View file

@ -16,6 +16,8 @@ namespace Rando {
std::weak_ptr<Context> Context::mContext;
Context::Context() {
StaticData::InitItemTable();
StaticData::InitLocationTable();
for (auto& location : StaticData::GetLocationTable()) {
mSpoilerfileCheckNameToEnum[location.GetName()] = location.GetRandomizerCheck();
}