# HG changeset patch # User nemo # Date 1273452976 0 # Node ID d65657c94bb996863ff73f4cda091e76588c7006 # Parent 8c04583d8e2a7d158ced03d0bc97a43bdfdcefe6 tweak diff -r 8c04583d8e2a -r d65657c94bb9 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Sun May 09 18:47:31 2010 +0000 +++ b/hedgewars/uGears.pas Mon May 10 00:56:16 2010 +0000 @@ -578,7 +578,10 @@ uStats.HedgehogDamaged(Gear); dmg:= Gear^.Damage; if Gear^.Health < dmg then + begin + Gear^.Active:= true; Gear^.Health:= 0 + end else dec(Gear^.Health, dmg);