diff -r c99140d2355a -r 8daf1ee0b9a3 hedgewars/HHHandlers.inc --- a/hedgewars/HHHandlers.inc Wed Jan 11 20:01:36 2006 +0000 +++ b/hedgewars/HHHandlers.inc Thu Jan 12 16:33:26 2006 +0000 @@ -1,6 +1,6 @@ (* * Hedgewars, a worms-like game - * Copyright (c) 2004, 2005 Andrey Korotaev + * Copyright (c) 2004, 2005, 2006 Andrey Korotaev * * Distributed under the terms of the BSD-modified licence: * @@ -176,7 +176,8 @@ case Gear.Pos of posCaseHealth: begin inc(HH.Health, Gear.Health); - RenderHealth(PHedgehog(HH.Hedgehog)^) + RenderHealth(PHedgehog(HH.Hedgehog)^); + RecountTeamHealth(PHedgehog(HH.Hedgehog)^.Team) end; end; end;