mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-23 20:13:46 -04:00
Fix Infocenter -> Act2/Act3 switch (#286)
This commit is contained in:
parent
4374453cb7
commit
098e2a6894
@ -273,7 +273,11 @@ MxLong Infocenter::Notify(MxParam& p_param)
|
|||||||
else if (m_destLocation != 0) {
|
else if (m_destLocation != 0) {
|
||||||
BackgroundAudioManager()->RaiseVolume();
|
BackgroundAudioManager()->RaiseVolume();
|
||||||
GameState()->SwitchArea(m_destLocation);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user