Fix naming

This commit is contained in:
Christian Semmler 2025-07-18 14:20:47 -07:00
parent 3bdcd48254
commit 6395f39cca
2 changed files with 5 additions and 5 deletions

View File

@ -53,11 +53,11 @@ class LegoPartPresenter : public MxMediaPresenter {
static void Release() static void Release()
{ {
for (auto* lodList : lodLists) { for (auto* lodList : g_lodLists) {
lodList->Release(); lodList->Release();
} }
lodLists.clear(); g_lodLists.clear();
} }
private: private:
@ -65,7 +65,7 @@ class LegoPartPresenter : public MxMediaPresenter {
LegoNamedPartList* m_parts; // 0x50 LegoNamedPartList* m_parts; // 0x50
static vector<ViewLODList*> lodLists; static vector<ViewLODList*> g_lodLists;
}; };
#endif // LEGOPARTPRESENTER_H #endif // LEGOPARTPRESENTER_H

View File

@ -22,7 +22,7 @@ MxS32 g_partPresenterConfig1 = 1;
// GLOBAL: LEGO1 0x100f7aa4 // GLOBAL: LEGO1 0x100f7aa4
MxS32 g_partPresenterConfig2 = 100; MxS32 g_partPresenterConfig2 = 100;
vector<ViewLODList*> LegoPartPresenter::lodLists; vector<ViewLODList*> LegoPartPresenter::g_lodLists;
// FUNCTION: LEGO1 0x1007c990 // FUNCTION: LEGO1 0x1007c990
void LegoPartPresenter::configureLegoPartPresenter(MxS32 p_partPresenterConfig1, MxS32 p_partPresenterConfig2) void LegoPartPresenter::configureLegoPartPresenter(MxS32 p_partPresenterConfig1, MxS32 p_partPresenterConfig2)
@ -264,7 +264,7 @@ void LegoPartPresenter::Store()
lodList->PushBack(lod); lodList->PushBack(lod);
} }
lodLists.push_back(lodList); g_lodLists.push_back(lodList);
} }
else { else {
lodList->Release(); lodList->Release();