changeset 5954 | 2aead3f940b0 |
parent 5875 | b3e23cb69ab4 |
child 5965 | e529b28d10e9 |
--- a/hedgewars/uTeams.pas Sat Sep 17 10:22:35 2011 -0400 +++ b/hedgewars/uTeams.pas Sat Sep 17 13:40:54 2011 -0400 @@ -427,17 +427,11 @@ with Team do for i:= 0 to cMaxHHIndex do with Hedgehogs[i] do - begin - if Hedgehogs[i].GearHidden <> nil then - RestoreHog(@Hedgehogs[i]); - if Gear <> nil then begin Gear^.Invulnerable:= false; - Gear^.Damage:= Gear^.Health; - Gear^.State:= Gear^.State or gstHHGone + Gear^.Damage:= Gear^.Health end - end end; procedure chAddHH(var id: shortstring);