This commit is contained in:
Christian Semmler 2024-12-12 08:45:31 -07:00
parent 54cc868c92
commit df228bd82e

View File

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