*sigh* this shouldn'tve been removed in first place.
authornemo
Fri, 29 Mar 2013 08:10:44 -0400
changeset 8814 01e13871f578
parent 8812 fdac638c6f9a
child 8816 6f93822e0b2e
*sigh* this shouldn'tve been removed in first place.
hedgewars/GSHandlers.inc
--- 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;