This commit is contained in:
Christian Semmler 2024-12-12 08:51:39 -07:00
parent 77c6f40cf8
commit eee5c4b91c

View File

@ -207,9 +207,10 @@ void Act3::RemovePizza(Act3Ammo& p_p)
break; break;
} }
} }
#endif
assert(i != MAX_PIZZAS); assert(i != MAX_PIZZAS);
#endif
assert(p_p.IsValid()); assert(p_p.IsValid());
p_p.Remove(); p_p.Remove();
} }
@ -225,9 +226,10 @@ void Act3::RemoveDonut(Act3Ammo& p_p)
break; break;
} }
} }
#endif
assert(i != MAX_DONUTS); assert(i != MAX_DONUTS);
#endif
assert(p_p.IsValid()); assert(p_p.IsValid());
p_p.Remove(); p_p.Remove();
} }