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::SetupGuiElements();
|
||||||
SohGui::SetupMenuElements();
|
SohGui::SetupMenuElements();
|
||||||
|
|
||||||
Rando::StaticData::InitHashMaps();
|
|
||||||
OTRGlobals::Instance->gRandoContext->AddExcludedOptions();
|
|
||||||
AudioCollection::Instance = new AudioCollection();
|
AudioCollection::Instance = new AudioCollection();
|
||||||
ActorDB::Instance = new ActorDB();
|
ActorDB::Instance = new ActorDB();
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
@@ -1546,6 +1544,8 @@ extern "C" void InitOTR(int argc, char* argv[]) {
|
|||||||
Anchor::Instance->Enable();
|
Anchor::Instance->Enable();
|
||||||
}
|
}
|
||||||
ShipInit::InitAll();
|
ShipInit::InitAll();
|
||||||
|
Rando::StaticData::InitHashMaps();
|
||||||
|
OTRGlobals::Instance->gRandoContext->AddExcludedOptions();
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void SaveManager_ThreadPoolWait() {
|
extern "C" void SaveManager_ThreadPoolWait() {
|
||||||
|
|||||||
Reference in New Issue
Block a user