add GetInstance fix

This commit is contained in:
Misha 2023-06-29 15:01:26 +03:00
parent 07912eb05a
commit 5191b04e13
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ LegoOmni::~LegoOmni()
// OFFSET: LEGO1 0x1005ad10 // OFFSET: LEGO1 0x1005ad10
LegoOmni *LegoOmni::GetInstance() LegoOmni *LegoOmni::GetInstance()
{ {
return (LegoOmni *) m_instance; return (LegoOmni*)MxOmni::GetInstance();
} }
// OFFSET: LEGO1 0x10015700 // OFFSET: LEGO1 0x10015700

View File

@ -84,7 +84,7 @@ class LegoOmni : public MxOmni
char m_unk94[0x4]; char m_unk94[0x4];
LegoBuildingManager* m_buildingManager; // 0x98 LegoBuildingManager* m_buildingManager; // 0x98
LegoGameState *m_gameState; // 0x9c LegoGameState *m_gameState; // 0x9c
char m_unka0[0x94]; MxDSAction m_action;
MxBackgroundAudioManager *m_bkgAudioManager; // 0x134 MxBackgroundAudioManager *m_bkgAudioManager; // 0x134
MxTransitionManager *m_transitionManager; // 0x138 MxTransitionManager *m_transitionManager; // 0x138
int m_unk13c; int m_unk13c;