hedgewars/uTeams.pas
changeset 4102 96efb3bbf8e3
parent 4101 c5967f360beb
child 4197 dad127904958
--- a/hedgewars/uTeams.pas	Wed Nov 03 12:28:44 2010 -0400
+++ b/hedgewars/uTeams.pas	Wed Nov 03 13:00:17 2010 -0400
@@ -397,8 +397,8 @@
                 inc(th, Hedgehogs[0].Gear^.Health);
                 if th > MaxTeamHealth then MaxTeamHealth:= th
                 end
-            else Hedgehogs[0].Gear^.Health:= h
-            Hedgehogs[0].InitialHealth:= Hedgehogs[0].Gear^.Health;
+            else Hedgehogs[0].Gear^.Health:= h;
+            Hedgehogs[0].InitialHealth:= Hedgehogs[0].Gear^.Health
             end;
         end;