# HG changeset patch # User koda # Date 1288546092 -3600 # Node ID fe799b5d601b43d13d4c690a1b2590bbc713e167 # Parent f94d0449803131bef6103728e5e74c1200f1ced1 fix issue 63 and draw health bars right away for savefiles diff -r f94d04498031 -r fe799b5d601b 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;