initialize more members in LegoGameState (#451)

This commit is contained in:
Ramen2X 2024-01-17 16:24:22 -05:00 committed by GitHub
parent c0af1dbac4
commit 99917ca765
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,15 @@ LegoGameState::LegoGameState()
// TODO
SetROIHandlerFunction();
m_stateCount = 0;
this->m_stateCount = 0;
this->m_unk0xc = 0;
this->m_savePath = NULL;
this->m_unk0x424 = 0;
this->m_prevArea = 0;
this->m_unk0x42c = 0;
this->m_isDirty = FALSE;
this->m_currentAct = -1;
m_backgroundColor = new LegoBackgroundColor("backgroundcolor", "set 56 54 68");
VariableTable()->SetVariable(m_backgroundColor);