# HG changeset patch
# User nemo
# Date 1270610978 0
# Node ID af0d256205c1851d1a8ee5df4a2c91091976f645
# Parent  591c42242106d1c9a974a7bdecf3964026d0d628
Correct interaction of cave and placement.

diff -r 591c42242106 -r af0d256205c1 hedgewars/uAmmos.pas
--- a/hedgewars/uAmmos.pas	Wed Apr 07 03:02:19 2010 +0000
+++ b/hedgewars/uAmmos.pas	Wed Apr 07 03:29:38 2010 +0000
@@ -344,7 +344,11 @@
         begin
         for a:= 0 to cMaxSlotAmmoIndex do
             with StoresList[i]^[slot, a] do
-                if (Propz and ammoprop_NotBorder) <> 0 then Count:= 0;
+                if (Propz and ammoprop_NotBorder) <> 0 then 
+                    begin
+                    Count:= 0;
+                    InitialCount:= 0
+                    end;
 
         PackAmmo(StoresList[i], slot)
         end;