diff --git a/LEGO1/lego/legoomni/include/legoplantmanager.h b/LEGO1/lego/legoomni/include/legoplantmanager.h index 1411e9fb..d480db41 100644 --- a/LEGO1/lego/legoomni/include/legoplantmanager.h +++ b/LEGO1/lego/legoomni/include/legoplantmanager.h @@ -29,7 +29,7 @@ class LegoPlantManager : public MxCore { void FUN_100263a0(undefined4 p_und); void Write(LegoStorage* p_storage); MxResult Read(LegoStorage* p_storage); - MxBool FUN_100269e0(LegoEntity* p_entity); + MxBool SwitchVariant(LegoEntity* p_entity); MxBool SwitchSound(LegoEntity* p_entity); MxU32 FUN_10026b70(LegoEntity* p_entity); MxU32 FUN_10026ba0(LegoEntity* p_entity, MxBool); diff --git a/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp b/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp index db7ff921..08881ea1 100644 --- a/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp +++ b/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp @@ -50,7 +50,7 @@ MxResult LegoPlantManager::Read(LegoStorage* p_storage) } // STUB: LEGO1 0x100269e0 -MxBool LegoPlantManager::FUN_100269e0(LegoEntity* p_entity) +MxBool LegoPlantManager::SwitchVariant(LegoEntity* p_entity) { // TODO return FALSE; diff --git a/LEGO1/lego/legoomni/src/entity/legoentity.cpp b/LEGO1/lego/legoomni/src/entity/legoentity.cpp index 729738cd..a4694e6a 100644 --- a/LEGO1/lego/legoomni/src/entity/legoentity.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoentity.cpp @@ -330,7 +330,7 @@ void LegoEntity::SwitchVariant() case e_unk1: break; case e_plant: - PlantManager()->FUN_100269e0(this); + PlantManager()->SwitchVariant(this); break; case e_building: BuildingManager()->SwitchVariant(this);