From f48dd8c9127e4b61293d8d0f652bc4342b4e9e8f Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 1 Jun 2025 09:46:14 -0700 Subject: [PATCH] Update legogamestate.cpp (#1535) --- LEGO1/lego/legoomni/src/common/legogamestate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/common/legogamestate.cpp b/LEGO1/lego/legoomni/src/common/legogamestate.cpp index e6bffa86..6425d1f7 100644 --- a/LEGO1/lego/legoomni/src/common/legogamestate.cpp +++ b/LEGO1/lego/legoomni/src/common/legogamestate.cpp @@ -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: