Skip to content

Commit

Permalink
Merge remote-tracking branch 'isle/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles committed Jun 26, 2024
2 parents 659a54b + 536aa4b commit be0fe5f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions LEGO1/lego/legoomni/src/common/legoplantmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,23 @@ MxResult LegoPlantManager::Tickle()
return 0;
}

// STUB: LEGO1 0x10027120
// FUNCTION: LEGO1 0x10027120
void LegoPlantManager::FUN_10027120()
{
// TODO
LegoWorld* world = CurrentWorld();

for (MxS32 i = 0; i < sizeOfArray(g_plantInfo); i++) {
g_plantInfo[i].m_unk0x16 = -1;
g_plantInfo[i].m_initialUnk0x16 = -1;
FUN_10026860(i);

if (g_plantInfo[i].m_entity != NULL) {
g_plantInfo[i].m_entity->SetLocation(
g_plantInfo[i].m_position,
g_plantInfo[i].m_direction,
g_plantInfo[i].m_up,
FALSE
);
}
}
}

0 comments on commit be0fe5f

Please sign in to comment.