Implement/match actor Create functions (#949)

This commit is contained in:
Christian Semmler
2024-05-24 14:44:09 -04:00
committed by GitHub
parent 63719ef689
commit e59d684f37
11 changed files with 55 additions and 23 deletions

View File

@@ -58,7 +58,7 @@ MxResult Ambulance::Create(MxDSAction& p_dsAction)
m_state = (AmbulanceMissionState*) GameState()->GetState("AmbulanceMissionState");
if (!m_state) {
m_state = new AmbulanceMissionState();
m_state->SetUnknown0x08(0);
m_state->m_unk0x08 = 0;
GameState()->RegisterState(m_state);
}
}