From 183accbc8c6cd58330c20db8b9a759c6a014cad0 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 20 Jan 2024 09:07:51 -0500 Subject: [PATCH] Changes --- LEGO1/lego/legoomni/include/policestate.h | 2 +- LEGO1/lego/legoomni/src/police/policestate.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/include/policestate.h b/LEGO1/lego/legoomni/include/policestate.h index e329b23e..be55ecae 100644 --- a/LEGO1/lego/legoomni/include/policestate.h +++ b/LEGO1/lego/legoomni/include/policestate.h @@ -28,7 +28,7 @@ class PoliceState : public LegoState { private: undefined4 m_unk0x8; // 0x8 - undefined4 m_unk0xc; // 0xc - might be an object id + undefined4 m_unk0xc; // 0xc }; #endif // POLICESTATE_H diff --git a/LEGO1/lego/legoomni/src/police/policestate.cpp b/LEGO1/lego/legoomni/src/police/policestate.cpp index fab15ef4..4965a36f 100644 --- a/LEGO1/lego/legoomni/src/police/policestate.cpp +++ b/LEGO1/lego/legoomni/src/police/policestate.cpp @@ -1,12 +1,12 @@ #include "policestate.h" -#include // for rand() +#include DECOMP_SIZE_ASSERT(PoliceState, 0x10) // FUNCTION: LEGO1 0x1005e7c0 PoliceState::PoliceState() { - this->m_unk0xc = 0; - this->m_unk0x8 = (rand() % 2 == 0) ? 501 : 500; + m_unk0xc = 0; + m_unk0x8 = (rand() % 2 == 0) ? 501 : 500; }