diff --git a/LEGO1/lego/legoomni/src/entity/legoworld.cpp b/LEGO1/lego/legoomni/src/entity/legoworld.cpp index 1e531a4d..93657997 100644 --- a/LEGO1/lego/legoomni/src/entity/legoworld.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoworld.cpp @@ -531,7 +531,7 @@ void LegoWorld::VTable0x68(MxBool p_und) while (cursor.Next(entity)) { if (entity->GetROI()) { entity->GetROI()->SetUnknown0x104(entity); - GetViewManager()->GetUnknown0x08().push_back(entity->GetROI()); + GetViewManager()->AddToUnknown0x08(entity->GetROI()); } } } diff --git a/LEGO1/viewmanager/viewmanager.h b/LEGO1/viewmanager/viewmanager.h index 3ca03cb7..625722b5 100644 --- a/LEGO1/viewmanager/viewmanager.h +++ b/LEGO1/viewmanager/viewmanager.h @@ -20,11 +20,15 @@ class ViewManager { // SYNTHETIC: LEGO1 0x100a6000 // ViewManager::`scalar deleting destructor' - inline CompoundObject& GetUnknown0x08() { return m_unk0x08; } + inline void AddToUnknown0x08(ViewROI* p_roi) { m_unk0x08.push_back(p_roi); } private: + undefined4 m_unk0x04; // 0x04 CompoundObject m_unk0x08; // 0x08 - undefined m_pad[0x1cc]; // 0x14 + undefined m_pad[0x1c8]; // 0x14 }; +// TEMPLATE: LEGO1 0x10022030 +// list >::insert + #endif // VIEWMANAGER_H