Fix order

This commit is contained in:
Christian Semmler 2024-03-13 13:48:01 -04:00
parent 328dcdeb64
commit 504129c73d

View File

@ -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 // STUB: LEGO1 0x10010c60
Mx3DPointFloat LegoEntity::GetEntitydDirection() Mx3DPointFloat LegoEntity::GetEntitydDirection()
{ {
@ -192,16 +202,6 @@ Mx3DPointFloat LegoEntity::GetEntityLocation()
return Mx3DPointFloat(0, 0, 0); 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 // FUNCTION: LEGO1 0x10010e10
void LegoEntity::ParseAction(char* p_extra) void LegoEntity::ParseAction(char* p_extra)
{ {