Rename virtual function to fix override (#222)

This commit is contained in:
Christian Semmler 2023-10-19 13:07:05 -04:00 committed by GitHub
parent fbb3b4930c
commit 3a21834382
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ MxBool LegoState::VTable0x14() {
} }
// OFFSET: LEGO1 0x10005fa0 // OFFSET: LEGO1 0x10005fa0
MxBool LegoState::VTable0x18() { MxBool LegoState::SetFlag() {
return FALSE; return FALSE;
} }

View file

@ -27,7 +27,7 @@ class LegoState : public MxCore
} }
virtual MxBool VTable0x14(); // vtable+0x14 virtual MxBool VTable0x14(); // vtable+0x14
virtual MxBool VTable0x18(); // vtable+0x18 virtual MxBool SetFlag(); // vtable+0x18
virtual MxResult VTable0x1C(LegoFileStream *p_legoFileStream); // vtable+0x1C virtual MxResult VTable0x1C(LegoFileStream *p_legoFileStream); // vtable+0x1C
}; };

View file

@ -8,7 +8,7 @@ MxBool ScoreState::VTable0x14() {
} }
// OFFSET: LEGO1 0x1000de30 // OFFSET: LEGO1 0x1000de30
MxBool ScoreState::SetScoreCubeTutorialFlag() MxBool ScoreState::SetFlag()
{ {
m_playCubeTutorial = TRUE; m_playCubeTutorial = TRUE;
return TRUE; return TRUE;

View file

@ -22,7 +22,7 @@ class ScoreState : public LegoState
}; };
virtual MxBool VTable0x14() override; // vtable+0x14 virtual MxBool VTable0x14() override; // vtable+0x14
virtual MxBool SetScoreCubeTutorialFlag() override; // vtable+0x18 virtual MxBool SetFlag() override; // vtable+0x18
private: private:
MxBool m_playCubeTutorial; MxBool m_playCubeTutorial;