From 504129c73df7c14cadb2882992b49213b332f33a Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 13 Mar 2024 13:48:01 -0400 Subject: [PATCH] Fix order --- LEGO1/lego/legoomni/src/entity/legoentity.cpp | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/LEGO1/lego/legoomni/src/entity/legoentity.cpp b/LEGO1/lego/legoomni/src/entity/legoentity.cpp index e22cf681..4bc066ee 100644 --- a/LEGO1/lego/legoomni/src/entity/legoentity.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoentity.cpp @@ -174,6 +174,16 @@ void LegoEntity::SetLocation(const Vector3& p_location, const Vector3& p_directi } } +// FUNCTION: LEGO1 0x10010c30 +void LegoEntity::FUN_10010c30() +{ + LegoWorld* world = CurrentWorld(); + + if (m_cameraFlag && world && world->GetCamera() && m_roi) { + world->GetCamera()->FUN_100123e0(m_roi->GetLocal2World(), 1); + } +} + // STUB: LEGO1 0x10010c60 Mx3DPointFloat LegoEntity::GetEntitydDirection() { @@ -192,16 +202,6 @@ Mx3DPointFloat LegoEntity::GetEntityLocation() return Mx3DPointFloat(0, 0, 0); } -// FUNCTION: LEGO1 0x10010c30 -void LegoEntity::FUN_10010c30() -{ - LegoWorld* world = CurrentWorld(); - - if (m_cameraFlag && world && world->GetCamera() && m_roi) { - world->GetCamera()->FUN_100123e0(m_roi->GetLocal2World(), 1); - } -} - // FUNCTION: LEGO1 0x10010e10 void LegoEntity::ParseAction(char* p_extra) {