From e42e0d1ca23ba2b5662a786632fa8a8e70af91e8 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 9 Feb 2024 07:10:47 -0500 Subject: [PATCH] Replace more magic numbers --- LEGO1/lego/legoomni/src/infocenter/infocenter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp b/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp index 416994fc..8dfc70e7 100644 --- a/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp +++ b/LEGO1/lego/legoomni/src/infocenter/infocenter.cpp @@ -311,9 +311,9 @@ MxLong Infocenter::HandleEndAction(MxEndActionNotificationParam& p_param) } break; case 11: - if (m_infocenterState->GetInfocenterBufferElement(0) == NULL && m_currentInfomainScript != 40 && - m_currentInfomainScript != 41 && m_currentInfomainScript != 42 && m_currentInfomainScript != 43 && - m_currentInfomainScript != 44) { + if (m_infocenterState->GetInfocenterBufferElement(0) == NULL && m_currentInfomainScript != c_mamaMovie && + m_currentInfomainScript != c_papaMovie && m_currentInfomainScript != c_pepperMovie && + m_currentInfomainScript != c_nickMovie && m_currentInfomainScript != c_lauraMovie) { m_infoManDialogueTimer = 1; PlayMusic(JukeBox::e_informationCenter); }