From 3d48faef9847b075eec38224196b04b2e8c99c02 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 17 Feb 2025 16:45:40 -0700 Subject: [PATCH] Fix clang-format --- LEGO1/lego/legoomni/src/worlds/infocenter.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/infocenter.cpp b/LEGO1/lego/legoomni/src/worlds/infocenter.cpp index 2b622c72..671fbf7c 100644 --- a/LEGO1/lego/legoomni/src/worlds/infocenter.cpp +++ b/LEGO1/lego/legoomni/src/worlds/infocenter.cpp @@ -1057,8 +1057,7 @@ MxU8 Infocenter::HandleControl(LegoControlManagerNotificationParam& p_param) case LegoGameState::e_infoscor: m_infocenterState->m_unk0x74 = 5; m_destLocation = state->GetPreviousArea(); - actionToPlay = - (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue(); + actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue(); m_radio.Stop(); InputManager()->DisableInputProcessing(); InputManager()->SetUnknown336(TRUE); @@ -1080,8 +1079,7 @@ MxU8 Infocenter::HandleControl(LegoControlManagerNotificationParam& p_param) else { m_infocenterState->m_unk0x74 = 5; m_destLocation = state->m_previousArea; - actionToPlay = (InfomainScript::Script) m_infocenterState - ->GetNextLeaveDialogue(); + actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue(); m_radio.Stop(); InputManager()->DisableInputProcessing(); InputManager()->SetUnknown336(TRUE); @@ -1094,16 +1092,14 @@ MxU8 Infocenter::HandleControl(LegoControlManagerNotificationParam& p_param) case LegoGameState::e_act2: m_infocenterState->m_unk0x74 = 5; m_destLocation = LegoGameState::e_act2main; - actionToPlay = - (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue(); + actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue(); InputManager()->DisableInputProcessing(); InputManager()->SetUnknown336(TRUE); break; case LegoGameState::e_act3: m_infocenterState->m_unk0x74 = 5; m_destLocation = LegoGameState::e_act3script; - actionToPlay = - (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue(); + actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue(); InputManager()->DisableInputProcessing(); InputManager()->SetUnknown336(TRUE); break;