Implement/match Act3Brickster::FUN_100417c0 (#1240)

* Implement/match `Act3Brickster::FUN_100417c0`

* Move function

* Rename var

* Revert "Rename var"

This reverts commit c9ca75ae7f.
This commit is contained in:
Christian Semmler
2024-12-19 12:22:34 -07:00
committed by GitHub
parent 18fc084a3f
commit cb38cf7673
9 changed files with 277 additions and 26 deletions

View File

@@ -419,7 +419,7 @@ void Act3Ammo::Animate(float p_time)
assert(m_world);
if (m_world->m_pizzas[index].IsValid() && !m_world->m_pizzas[index].IsBit5()) {
if (m_world->m_pizzas[index].IsValid() && !m_world->m_pizzas[index].IsSharkFood()) {
m_world->EatPizza(index);
m_world->m_brickster->FUN_100417c0();
}