# HG changeset patch # User nemo # Date 1364559044 14400 # Node ID 01e13871f578b7f97aadc921ec290778bba8d608 # Parent fdac638c6f9ac087cef51a333223bdf4dc8813cd *sigh* this shouldn'tve been removed in first place. diff -r fdac638c6f9a -r 01e13871f578 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;