mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-03 13:41:15 +00:00
Fix
This commit is contained in:
parent
7af27088f8
commit
cd62029c9d
@ -174,10 +174,9 @@ MxLong Infocenter::HandleEndAction(MxParam& p_param)
|
||||
|
||||
MxLong result = m_radio.Notify(p_param);
|
||||
|
||||
if (result)
|
||||
if (result || (action->GetAtomId() != m_atom && action->GetAtomId() != *g_introScript))
|
||||
return result;
|
||||
|
||||
if (action->GetAtomId() == m_atom || action->GetAtomId() == *g_introScript) {
|
||||
if (action->GetObjectId() == e_returnBack) {
|
||||
ControlManager()->FUN_100293c0(0x10, action->GetAtomId(), 0);
|
||||
m_unk0x1d6 = 0;
|
||||
@ -256,8 +255,8 @@ MxLong Infocenter::HandleEndAction(MxParam& p_param)
|
||||
}
|
||||
break;
|
||||
case 11:
|
||||
if (m_infocenterState->GetInfocenterBufferElement(0) == 0 && m_currentInfomainScript != 28 &&
|
||||
m_currentInfomainScript != 29 && m_currentInfomainScript != 42 && m_currentInfomainScript != 43 &&
|
||||
if (m_infocenterState->GetInfocenterBufferElement(0) == 0 && m_currentInfomainScript != 40 &&
|
||||
m_currentInfomainScript != 41 && m_currentInfomainScript != 42 && m_currentInfomainScript != 43 &&
|
||||
m_currentInfomainScript != 44) {
|
||||
m_unk0x1d0 = 1;
|
||||
PlayMusic(11);
|
||||
@ -273,7 +272,6 @@ MxLong Infocenter::HandleEndAction(MxParam& p_param)
|
||||
}
|
||||
|
||||
result = 1;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user