mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Clear unknown in InfocenterState
(#1657)
This commit is contained in:
@@ -666,10 +666,10 @@ MxLong LegoNavController::Notify(MxParam& p_param)
|
||||
InfocenterState* state = (InfocenterState*) GameState()->GetState("InfocenterState");
|
||||
assert(state);
|
||||
|
||||
if (state != NULL && state->m_unk0x74 != 8 && currentWorld->Escape()) {
|
||||
if (state != NULL && state->m_state != InfocenterState::e_exitQueried && currentWorld->Escape()) {
|
||||
BackgroundAudioManager()->Stop();
|
||||
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
|
||||
state->m_unk0x74 = 8;
|
||||
state->m_state = InfocenterState::e_exitQueried;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user