Fix clang-format

This commit is contained in:
Christian Semmler 2025-02-17 16:45:40 -07:00
parent efa753a49b
commit 3d48faef98

View File

@ -1057,8 +1057,7 @@ MxU8 Infocenter::HandleControl(LegoControlManagerNotificationParam& p_param)
case LegoGameState::e_infoscor: case LegoGameState::e_infoscor:
m_infocenterState->m_unk0x74 = 5; m_infocenterState->m_unk0x74 = 5;
m_destLocation = state->GetPreviousArea(); m_destLocation = state->GetPreviousArea();
actionToPlay = actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue();
(InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue();
m_radio.Stop(); m_radio.Stop();
InputManager()->DisableInputProcessing(); InputManager()->DisableInputProcessing();
InputManager()->SetUnknown336(TRUE); InputManager()->SetUnknown336(TRUE);
@ -1080,8 +1079,7 @@ MxU8 Infocenter::HandleControl(LegoControlManagerNotificationParam& p_param)
else { else {
m_infocenterState->m_unk0x74 = 5; m_infocenterState->m_unk0x74 = 5;
m_destLocation = state->m_previousArea; m_destLocation = state->m_previousArea;
actionToPlay = (InfomainScript::Script) m_infocenterState actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue();
->GetNextLeaveDialogue();
m_radio.Stop(); m_radio.Stop();
InputManager()->DisableInputProcessing(); InputManager()->DisableInputProcessing();
InputManager()->SetUnknown336(TRUE); InputManager()->SetUnknown336(TRUE);
@ -1094,16 +1092,14 @@ MxU8 Infocenter::HandleControl(LegoControlManagerNotificationParam& p_param)
case LegoGameState::e_act2: case LegoGameState::e_act2:
m_infocenterState->m_unk0x74 = 5; m_infocenterState->m_unk0x74 = 5;
m_destLocation = LegoGameState::e_act2main; m_destLocation = LegoGameState::e_act2main;
actionToPlay = actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue();
(InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue();
InputManager()->DisableInputProcessing(); InputManager()->DisableInputProcessing();
InputManager()->SetUnknown336(TRUE); InputManager()->SetUnknown336(TRUE);
break; break;
case LegoGameState::e_act3: case LegoGameState::e_act3:
m_infocenterState->m_unk0x74 = 5; m_infocenterState->m_unk0x74 = 5;
m_destLocation = LegoGameState::e_act3script; m_destLocation = LegoGameState::e_act3script;
actionToPlay = actionToPlay = (InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue();
(InfomainScript::Script) m_infocenterState->GetNextLeaveDialogue();
InputManager()->DisableInputProcessing(); InputManager()->DisableInputProcessing();
InputManager()->SetUnknown336(TRUE); InputManager()->SetUnknown336(TRUE);
break; break;