fix issue 63 and draw health bars right away for savefiles
authorkoda
Sun, 31 Oct 2010 18:28:12 +0100
changeset 4049 fe799b5d601b
parent 4048 f94d04498031
child 4050 8e4f4b72c132
fix issue #63 and draw health bars right away for savefiles
hedgewars/uGame.pas
--- a/hedgewars/uGame.pas	Sun Oct 31 18:05:48 2010 +0100
+++ b/hedgewars/uGame.pas	Sun Oct 31 18:28:12 2010 +0100
@@ -26,7 +26,7 @@
 ////////////////////
    implementation
 ////////////////////
-uses uMisc, uConsts, uKeys, uTeams, uIO, uAI, uGears, uScript, uSound, uMobile;
+uses uMisc, uConsts, uKeys, uTeams, uIO, uAI, uGears, uScript, uSound, uMobile, uVisualGears;
 
 procedure DoGameTick(Lag: LongInt);
 var i: LongInt;
@@ -67,6 +67,7 @@
                         isSoundEnabled:= isSEBackup;
                         if isSoundEnabled then playMusic;
                         GameType:= gmtLocal;
+                        AddVisualGear(0, 0, vgtTeamHealthSorter);
                         {$IFDEF IPHONEOS}InitIPC;{$ENDIF}
                         perfExt_SaveFinishedSynching();
                         end;