Add Act3Ammo, match Act3::Act3 (#1196)

* Implement `Act3Ammo`, match `Act3::Act3`

* Move

* Fix match
This commit is contained in:
Christian Semmler
2024-12-07 11:57:59 -07:00
committed by GitHub
parent 5be00e1799
commit 97fb6e4f15
7 changed files with 159 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ MxResult Helicopter::Create(MxDSAction& p_dsAction)
m_world = CurrentWorld();
if (m_world->IsA("Act3")) {
((Act3*) m_world)->SetUnknown420c(this);
((Act3*) m_world)->SetHelicopter(this);
}
if (m_world != NULL) {