hedgewars/uGears.pas
changeset 3453 d65657c94bb9
parent 3450 c250116b9136
child 3459 c552aa44108d
--- 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);