hedgewars/GSHandlers.inc
changeset 4325 ca254d2a46ac
parent 4319 81391b54b078
child 4327 224efdd648e1
--- a/hedgewars/GSHandlers.inc	Sun Nov 14 00:50:33 2010 +0100
+++ b/hedgewars/GSHandlers.inc	Sun Nov 14 02:38:05 2010 -0500
@@ -4284,7 +4284,7 @@
 
     if ((Gear^.Message and gmAttack) <> 0) and (hh^.Gear^.Health > 0) and (TurnTimeLeft > 0) then 
         begin
-        if Length(graves) >= Gear^.Tag then Gear^.Tag:= 0;
+        if Length(graves) <= Gear^.Tag then Gear^.Tag:= 0;
         dec(hh^.Gear^.Health);
         if (hh^.Gear^.Health = 0) and (hh^.Gear^.Damage = 0) then
             hh^.Gear^.Damage:= 1;