oops. more specific ammo tests. maybe could use a few more properties
authornemo
Sun, 10 Feb 2013 09:22:29 -0500
changeset 8493 1a84f8b08ca7
parent 8492 67d2ad3b3ce9
child 8494 53b91a602955
oops. more specific ammo tests. maybe could use a few more properties
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Sat Feb 09 20:28:05 2013 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Sun Feb 10 09:22:29 2013 -0500
@@ -455,7 +455,7 @@
             if (CurAmmoGear <> nil)
                 and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AltUse) = 0){check for dropping ammo from rope} then
                 begin
-                //Message:= Message or gmAttack;
+                if CurAmmoType = amRope then Message:= Message or gmAttack;
                 CurAmmoGear^.Message:= Message
                 end
             else