hedgewars/uAmmos.pas
changeset 2457 ecf0c7e7995b
parent 2453 fdb76012b688
child 2461 5e58b1e3210b
--- a/hedgewars/uAmmos.pas	Thu Oct 15 17:18:36 2009 +0000
+++ b/hedgewars/uAmmos.pas	Thu Oct 15 17:42:21 2009 +0000
@@ -99,7 +99,8 @@
             cnt:= 0;
             Ammoz[a].Probability:= 0
             end;
-        ammos[a]:= cnt
+        ammos[a]:= cnt;
+        if shoppa then Ammoz[a].NumberInCase:= 1;  // FIXME - TEMPORARY remove when crate number in case editor is added
         end else
         ammos[a]:= AMMO_INFINITE
     end;