Fix rando objects not randomizing (#6150)
Recent changes in init ordering had param hashmap built before static locations setup by hooks
This commit is contained in:
@@ -1488,8 +1488,6 @@ extern "C" void InitOTR(int argc, char* argv[]) {
|
||||
SohGui::SetupGuiElements();
|
||||
SohGui::SetupMenuElements();
|
||||
|
||||
Rando::StaticData::InitHashMaps();
|
||||
OTRGlobals::Instance->gRandoContext->AddExcludedOptions();
|
||||
AudioCollection::Instance = new AudioCollection();
|
||||
ActorDB::Instance = new ActorDB();
|
||||
#ifdef __APPLE__
|
||||
@@ -1546,6 +1544,8 @@ extern "C" void InitOTR(int argc, char* argv[]) {
|
||||
Anchor::Instance->Enable();
|
||||
}
|
||||
ShipInit::InitAll();
|
||||
Rando::StaticData::InitHashMaps();
|
||||
OTRGlobals::Instance->gRandoContext->AddExcludedOptions();
|
||||
}
|
||||
|
||||
extern "C" void SaveManager_ThreadPoolWait() {
|
||||
|
||||
Reference in New Issue
Block a user