From df228bd82ee260c5b8de84db8a7a757da39582fb Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 12 Dec 2024 08:45:31 -0700 Subject: [PATCH] Fixes --- LEGO1/lego/legoomni/src/worlds/act3.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/act3.cpp b/LEGO1/lego/legoomni/src/worlds/act3.cpp index fcf93909..cb816ca5 100644 --- a/LEGO1/lego/legoomni/src/worlds/act3.cpp +++ b/LEGO1/lego/legoomni/src/worlds/act3.cpp @@ -207,10 +207,9 @@ void Act3::RemovePizza(Act3Ammo& p_p) break; } } - - assert(i != MAX_DONUTS); #endif + assert(i != MAX_PIZZAS); assert(p_p.IsValid()); p_p.Remove(); } @@ -226,10 +225,9 @@ void Act3::RemoveDonut(Act3Ammo& p_p) break; } } - - assert(i != MAX_DONUTS); #endif + assert(i != MAX_DONUTS); assert(p_p.IsValid()); p_p.Remove(); }