Fix Infocenter -> Act2/Act3 switch

This commit is contained in:
Christian Semmler 2025-06-11 17:18:17 -07:00
parent 7732a3ccfd
commit 0db96e8d81
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -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;
}