mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-03 13:41:15 +00:00
Match
This commit is contained in:
parent
7229597ed9
commit
dd51142663
@ -449,9 +449,9 @@ MxLong Pizza::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
|
||||
if (m_unk0x8c == objectId) {
|
||||
BackgroundAudioManager()->RaiseVolume();
|
||||
result = 1;
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
|
||||
switch (m_state->m_unk0x0c) {
|
||||
case 1:
|
||||
if (m_state->GetUnknown0xb0() == objectId) {
|
||||
@ -461,12 +461,13 @@ MxLong Pizza::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
MxTrace("Pizza mission: proposed\n");
|
||||
}
|
||||
break;
|
||||
case 3: {
|
||||
case 3:
|
||||
if (m_state->GetUnknown0xb0() == objectId) {
|
||||
m_mission->m_startTime = Timer()->GetTime();
|
||||
|
||||
for (MxS32 i = 0; i < m_mission->m_numActions; i++) {
|
||||
InvokeAction(Extra::e_start, *g_isleScript, m_mission->GetActions()[i], NULL);
|
||||
PizzaMissionState::Mission* mission = m_mission;
|
||||
for (MxS32 i = 0; i < mission->m_numActions; i++) {
|
||||
InvokeAction(Extra::e_start, *g_isleScript, mission->GetActions()[i], NULL);
|
||||
}
|
||||
|
||||
m_state->m_unk0x0c = 4;
|
||||
@ -488,7 +489,6 @@ MxLong Pizza::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
result = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
if (m_state->GetUnknown0xb0() == objectId) {
|
||||
StopActions();
|
||||
@ -572,7 +572,6 @@ MxLong Pizza::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user