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