fix for fail to place using ammo
authornemo
Tue, 10 Dec 2013 00:05:27 -0500
changeset 9776 67130612aabd
parent 9775 2b154a2a8852
child 9777 984b0f2cdf67
fix for fail to place using ammo
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Mon Dec 09 23:30:41 2013 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Tue Dec 10 00:05:27 2013 -0500
@@ -448,7 +448,7 @@
                 amFlamethrower, amLandGun,
                  amResurrector, //amStructure,
                       amTardis, amPiano,
-                      amIceGun: CurAmmoGear:= newGear;
+                      amIceGun, amRubber: CurAmmoGear:= newGear;
             end;
 
             if ((CurAmmoType = amMine) or (CurAmmoType = amSMine)) and (GameFlags and gfInfAttack <> 0) then