From 1bf2fdf3bb6e8d9c6ddcfac820dd05f090775c3a Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 13 Jan 2024 15:37:00 -0500 Subject: [PATCH] Fix structure --- LEGO1/lego/legoomni/include/act1state.h | 3 +++ LEGO1/lego/legoomni/src/act1/act1state.cpp | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/include/act1state.h b/LEGO1/lego/legoomni/include/act1state.h index 2a4e762c..84537e88 100644 --- a/LEGO1/lego/legoomni/include/act1state.h +++ b/LEGO1/lego/legoomni/include/act1state.h @@ -34,8 +34,11 @@ class Act1State : public LegoState { MxU32 m_unk0x18; // 0x18 undefined2 m_unk0x1c; // 0x1c undefined m_unk0x1e; // 0x1e + undefined m_unk0x1f; // 0x1f undefined m_unk0x20; // 0x20 MxBool m_unk0x21; // 0x21 + undefined m_unk0x22; // 0x22 + // TODO }; #endif // ACT1STATE_H diff --git a/LEGO1/lego/legoomni/src/act1/act1state.cpp b/LEGO1/lego/legoomni/src/act1/act1state.cpp index 18c762d0..17f09277 100644 --- a/LEGO1/lego/legoomni/src/act1/act1state.cpp +++ b/LEGO1/lego/legoomni/src/act1/act1state.cpp @@ -4,8 +4,13 @@ Act1State::Act1State() { // TODO + m_unk0x1e = 0; m_unk0x18 = 1; - m_unk0x21 = 1; + m_unk0x20 = 0; + m_unk0x1f = 0; + m_unk0x21 = TRUE; + m_unk0x22 = 0; + m_unk0x1c = 1; } // STUB: LEGO1 0x10034d00