From 6508a0588566e79039735a49eae60d30cabc4b40 Mon Sep 17 00:00:00 2001 From: Ramen2X Date: Thu, 21 Mar 2024 13:15:39 -0400 Subject: [PATCH] style --- LEGO1/lego/legoomni/src/worlds/hospital.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/hospital.cpp b/LEGO1/lego/legoomni/src/worlds/hospital.cpp index 313a87bc..7c6c4b43 100644 --- a/LEGO1/lego/legoomni/src/worlds/hospital.cpp +++ b/LEGO1/lego/legoomni/src/worlds/hospital.cpp @@ -414,10 +414,9 @@ MxBool Hospital::HandleClick(LegoControlManagerEvent& p_param) m_unk0x10c = HospitalScript::c_hho016cl_RunAnim; m_unk0x108 = 1; - return TRUE; + break; } - - if (m_unk0x128 == 0) { + else if (m_unk0x128 == 0) { m_unk0x128 = 1; m_hospitalState->m_unk0x08.m_unk0x00 = 13; m_destLocation = LegoGameState::e_infomain; @@ -439,10 +438,9 @@ MxBool Hospital::HandleClick(LegoControlManagerEvent& p_param) m_unk0x10c = HospitalScript::c_hho016cl_RunAnim; m_unk0x108 = 1; - return TRUE; + break; } - - if (m_unk0x128 == 0) { + else if (m_unk0x128 == 0) { m_unk0x128 = 1; m_hospitalState->m_unk0x08.m_unk0x00 = 13; m_destLocation = LegoGameState::e_unk31;