Should disable construction in the shoppa hack, I think. Construction is annoying
authornemo
Sat, 16 May 2009 14:51:04 +0000
changeset 2061 0f99aa28b9f4
parent 2060 3e9e5e1be6f5
child 2062 61e9acf4bb42
Should disable construction in the shoppa hack, I think. Construction is annoying
hedgewars/uAmmos.pas
--- a/hedgewars/uAmmos.pas	Fri May 15 17:15:37 2009 +0000
+++ b/hedgewars/uAmmos.pas	Sat May 16 14:51:04 2009 +0000
@@ -95,7 +95,12 @@
         end
     else if shoppa then      // TEMPORARY REMOVE WHEN CRATE PROBABILITY IS ADDED
         if not cnt = AMMO_INFINITE then
-            Ammoz[a].Probability:= 100;
+            begin
+            if a = amGirder then
+                Ammoz[a].Probability:= 0
+            else
+                Ammoz[a].Probability:= 100
+            end;
     ammos[a]:= cnt
     end;