From b425d5c7b49762c61768f611551128a0c5614dff Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 21 Dec 2024 14:18:50 -0700 Subject: [PATCH] Move function --- .../lego/legoomni/src/common/legoplantmanager.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp b/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp index a483db1b..4fc1abd8 100644 --- a/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp +++ b/LEGO1/lego/legoomni/src/common/legoplantmanager.cpp @@ -345,6 +345,13 @@ void LegoPlantManager::FUN_10026860(MxS32 p_index) } } +// FUNCTION: LEGO1 0x100268d0 +// FUNCTION: BETA10 0x100c5c7a +MxS32 LegoPlantManager::GetNumPlants() +{ + return sizeOfArray(g_plantInfo); +} + // FUNCTION: LEGO1 0x100268e0 // FUNCTION: BETA10 0x100c5c95 LegoPlantInfo* LegoPlantManager::GetInfo(LegoEntity* p_entity) @@ -364,13 +371,6 @@ LegoPlantInfo* LegoPlantManager::GetInfo(LegoEntity* p_entity) return NULL; } -// FUNCTION: LEGO1 0x100268d0 -// FUNCTION: BETA10 0x100c5c7a -MxS32 LegoPlantManager::GetNumPlants() -{ - return sizeOfArray(g_plantInfo); -} - // FUNCTION: LEGO1 0x10026920 // FUNCTION: BETA10 0x100c5dc9 MxBool LegoPlantManager::SwitchColor(LegoEntity* p_entity)