From 098e2a6894ef5cd7af91a5e032765ab74664220c Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 11 Jun 2025 17:31:16 -0700 Subject: [PATCH] Fix Infocenter -> Act2/Act3 switch (#286) --- LEGO1/lego/legoomni/src/worlds/infocenter.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/worlds/infocenter.cpp b/LEGO1/lego/legoomni/src/worlds/infocenter.cpp index 15630db9..50515f9f 100644 --- a/LEGO1/lego/legoomni/src/worlds/infocenter.cpp +++ b/LEGO1/lego/legoomni/src/worlds/infocenter.cpp @@ -273,7 +273,11 @@ MxLong Infocenter::Notify(MxParam& p_param) else if (m_destLocation != 0) { BackgroundAudioManager()->RaiseVolume(); GameState()->SwitchArea(m_destLocation); - m_destLocation = LegoGameState::e_undefined; + + if (GameState()->m_currentArea != LegoGameState::e_act2main && + GameState()->m_currentArea != LegoGameState::e_act3script) { + m_destLocation = LegoGameState::e_undefined; + } } break; }