From 1f5272b2f8f2e5f2b8d24a51aee6a043db4feb64 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 1 Feb 2024 15:10:14 -0500 Subject: [PATCH] Braces --- LEGO1/lego/legoomni/src/infocenter/infocenter.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp b/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp index b6574265..5269a7cf 100644 --- a/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp +++ b/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp @@ -656,10 +656,12 @@ MxLong Infocenter::HandleNotification0(MxNotificationParam& p_param) m_infoManDialogueTimer = 0; InfomainScript objectId; - if (GameState()->GetUnknown10()) + if (GameState()->GetUnknown10()) { objectId = (InfomainScript) m_infocenterState->GetUnknown0x14().FUN_10014d00(); - else + } + else { objectId = (InfomainScript) m_infocenterState->GetUnknown0x08().FUN_10014d00(); + } PlayAction(objectId); FUN_10015860(g_object2x4red, 0);