hedgewars/GSHandlers.inc
branch0.9.14.1
changeset 4311 636122c968ce
parent 4300 02582c825081
child 4337 85e02b1a8e8f
--- a/hedgewars/GSHandlers.inc	Sun Nov 14 11:06:55 2010 -0500
+++ b/hedgewars/GSHandlers.inc	Sun Nov 14 11:10:25 2010 -0500
@@ -4239,7 +4239,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;