Update legogamestate.cpp (#1535)

This commit is contained in:
Christian Semmler 2025-06-01 09:46:14 -07:00 committed by GitHub
parent ac971f8c15
commit f48dd8c912
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,7 +170,7 @@ LegoGameState::LegoGameState()
VariableTable()->SetVariable(m_fullScreenMovie);
VariableTable()->SetVariable("lightposition", "2");
SerializeScoreHistory(1);
SerializeScoreHistory(LegoFile::c_read);
}
// FUNCTION: LEGO1 0x10039720
@ -315,7 +315,7 @@ MxResult LegoGameState::Save(MxULong p_slot)
area = m_unk0x42c;
storage.WriteU16(area);
SerializeScoreHistory(2);
SerializeScoreHistory(LegoFile::c_write);
m_isDirty = FALSE;
done: