From d2fa3d321f4cc541d4659dc3d735ae79bf3e6fa6 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 31 Jan 2024 09:27:31 -0500 Subject: [PATCH] Match --- LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp b/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp index 95be6b4e..47ab29ac 100644 --- a/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp +++ b/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp @@ -95,14 +95,17 @@ MxLong InfocenterDoor::HandleClick(LegoControlManagerEvent& p_param) switch (p_param.GetClickedObjectId()) { case 1: m_unk0xf8 = 13; + TransitionManager()->StartTransition(MxTransitionManager::e_pixelation, 50, FALSE, FALSE); result = 1; break; case 2: m_unk0xf8 = 5; + TransitionManager()->StartTransition(MxTransitionManager::e_pixelation, 50, FALSE, FALSE); result = 1; break; case 3: m_unk0xf8 = 2; + TransitionManager()->StartTransition(MxTransitionManager::e_pixelation, 50, FALSE, FALSE); result = 1; break; case 4: @@ -126,11 +129,11 @@ MxLong InfocenterDoor::HandleClick(LegoControlManagerEvent& p_param) BackgroundAudioManager()->LowerVolume(); Start(&action); } + + TransitionManager()->StartTransition(MxTransitionManager::e_pixelation, 50, FALSE, FALSE); result = 1; break; } - - TransitionManager()->StartTransition(MxTransitionManager::e_pixelation, 50, FALSE, FALSE); } return result;