This commit is contained in:
Christian Semmler 2024-06-05 13:08:52 -04:00
parent 5f6f0457c2
commit c7c7ad6aef
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ class LegoPlantManager : public MxCore {
void FUN_100263a0(undefined4 p_und); void FUN_100263a0(undefined4 p_und);
void Write(LegoStorage* p_storage); void Write(LegoStorage* p_storage);
MxResult Read(LegoStorage* p_storage); MxResult Read(LegoStorage* p_storage);
MxBool FUN_100269e0(LegoEntity* p_entity); MxBool SwitchVariant(LegoEntity* p_entity);
MxBool SwitchSound(LegoEntity* p_entity); MxBool SwitchSound(LegoEntity* p_entity);
MxU32 FUN_10026b70(LegoEntity* p_entity); MxU32 FUN_10026b70(LegoEntity* p_entity);
MxU32 FUN_10026ba0(LegoEntity* p_entity, MxBool); MxU32 FUN_10026ba0(LegoEntity* p_entity, MxBool);

View File

@ -50,7 +50,7 @@ MxResult LegoPlantManager::Read(LegoStorage* p_storage)
} }
// STUB: LEGO1 0x100269e0 // STUB: LEGO1 0x100269e0
MxBool LegoPlantManager::FUN_100269e0(LegoEntity* p_entity) MxBool LegoPlantManager::SwitchVariant(LegoEntity* p_entity)
{ {
// TODO // TODO
return FALSE; return FALSE;

View File

@ -330,7 +330,7 @@ void LegoEntity::SwitchVariant()
case e_unk1: case e_unk1:
break; break;
case e_plant: case e_plant:
PlantManager()->FUN_100269e0(this); PlantManager()->SwitchVariant(this);
break; break;
case e_building: case e_building:
BuildingManager()->SwitchVariant(this); BuildingManager()->SwitchVariant(this);