Implement/match more LegoPlantManager functions (#1040)

This commit is contained in:
Christian Semmler
2024-06-19 12:02:54 -04:00
committed by GitHub
parent e507f42717
commit 656e7fc674
5 changed files with 132 additions and 21 deletions

View File

@@ -178,8 +178,8 @@ void LegoWorld::Destroy(MxBool p_fromDestructor)
}
if (m_worldId != -1 && m_set0xd0.empty()) {
PlantManager()->FUN_100263a0(m_worldId);
BuildingManager()->FUN_1002fb30();
PlantManager()->Reset(m_worldId);
BuildingManager()->Reset();
}
if (m_entityList) {
@@ -715,8 +715,8 @@ void LegoWorld::Enable(MxBool p_enable)
m_set0xd0.insert(this);
if (m_worldId != -1) {
PlantManager()->FUN_100263a0(m_worldId);
BuildingManager()->FUN_1002fb30();
PlantManager()->Reset(m_worldId);
BuildingManager()->Reset();
}
MxPresenterListCursor controlPresenterCursor(&m_controlPresenters);