From 1679b3f5e10de3715c2a338ea12cc0c42a6eaa31 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 13 Mar 2024 16:26:28 -0400 Subject: [PATCH] Fix HandleClick --- LEGO1/lego/legoomni/include/hospital.h | 2 +- LEGO1/lego/legoomni/src/worlds/hospital.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/include/hospital.h b/LEGO1/lego/legoomni/include/hospital.h index fa428d62..2b6fde1e 100644 --- a/LEGO1/lego/legoomni/include/hospital.h +++ b/LEGO1/lego/legoomni/include/hospital.h @@ -43,7 +43,7 @@ class Hospital : public LegoWorld { MxLong HandleKeyPress(MxS8 p_key); MxLong HandleEndAction(MxEndActionNotificationParam& p_param); MxLong HandleButtonDown(LegoControlManagerEvent& p_param); - MxLong HandleClick(LegoControlManagerEvent& p_param); + MxBool HandleClick(LegoControlManagerEvent& p_param); undefined2 m_unk0xf8; // 0xf8 LegoGameState::Area m_destLocation; // 0xfc diff --git a/LEGO1/lego/legoomni/src/worlds/hospital.cpp b/LEGO1/lego/legoomni/src/worlds/hospital.cpp index ecb523f2..36e4add0 100644 --- a/LEGO1/lego/legoomni/src/worlds/hospital.cpp +++ b/LEGO1/lego/legoomni/src/worlds/hospital.cpp @@ -145,7 +145,7 @@ MxLong Hospital::HandleButtonDown(LegoControlManagerEvent& p_param) } // STUB: LEGO1 0x10075f90 -MxLong Hospital::HandleClick(LegoControlManagerEvent& p_param) +MxBool Hospital::HandleClick(LegoControlManagerEvent& p_param) { // TODO return 0;