# HG changeset patch
# User nemo
# Date 1360506149 18000
# Node ID 1a84f8b08ca7d3f7d5d21f51274655b7f1d1d50d
# Parent  67d2ad3b3ce94bf8554498769e001d8d442f768c
oops.  more specific ammo tests.  maybe could use a few more properties

diff -r 67d2ad3b3ce9 -r 1a84f8b08ca7 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