mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Match Ambulance::StopScriptOnAmbulance and StopScriptOnEntity (#1003)
* Match Ambulance::StopScriptOnAmbulance and StopScriptOnEntity * Rename for consistency --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -1201,7 +1201,7 @@ MxBool Isle::Escape()
|
||||
break;
|
||||
case 10:
|
||||
if (CurrentActor() != NULL && !CurrentActor()->IsA("Ambulance")) {
|
||||
m_ambulance->FUN_10037240();
|
||||
m_ambulance->StopActions();
|
||||
m_ambulance->FUN_10037250();
|
||||
}
|
||||
break;
|
||||
@@ -1242,7 +1242,7 @@ void Isle::FUN_10033350()
|
||||
{
|
||||
if (m_act1state->m_unk0x018 == 10) {
|
||||
if (CurrentActor() != NULL && !CurrentActor()->IsA("Ambulance")) {
|
||||
m_ambulance->FUN_10037240();
|
||||
m_ambulance->StopActions();
|
||||
m_ambulance->FUN_10037250();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user