--- 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 <unC0Rr@gmail.com>
+ * Copyright (c) 2004, 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
*
* 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;