hedgewars/GSHandlers.inc
changeset 8814 01e13871f578
parent 8812 fdac638c6f9a
child 8822 fc9877ff7f1a
--- a/hedgewars/GSHandlers.inc	Fri Mar 29 08:03:17 2013 -0400
+++ b/hedgewars/GSHandlers.inc	Fri Mar 29 08:10:44 2013 -0400
@@ -5130,7 +5130,7 @@
     hogs: PGearArrayS;
 begin
     HHGear := Gear^.Hedgehog^.Gear;
-    if (Gear^.Message and gmAttack <> 0) or (HHGear = nil) or (HHGear^.Damage <> 0) then
+    if (Gear^.Message and gmAttack <> 0) or (Gear^.Health = 0) or (HHGear = nil) or (HHGear^.Damage <> 0) then
         begin
         DeleteGear(Gear);
         AfterAttack;