# HG changeset patch # User Wuzzy # Date 1554670678 -7200 # Node ID 16168aff08c7a287042736a9754f80393bfbf405 # Parent 15bcd82ab86c0f0652a42c4b6d8efe833316a498 Fix coloring of mine timers diff -r 15bcd82ab86c -r 16168aff08c7 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Sun Apr 07 22:48:34 2019 +0200 +++ b/hedgewars/uGears.pas Sun Apr 07 22:57:58 2019 +0200 @@ -278,6 +278,7 @@ begin // Mine timer if (curHandledGear^.Kind in [gtMine, gtSMine, gtAirMine]) then + begin if curHandledGear^.Tex = nil then if (curHandledGear^.Karma = 1) and (not (GameType in [gmtDemo, gmtRecord])) then // Secret mine timer @@ -292,6 +293,7 @@ else curHandledGear^.Tex:= RenderStringTex(ansistring(inttostr(i) + FormatSettings.DecimalSeparator + inttostr(j)), $ff808080, fntSmall); end + end // Timer of other gears else if ((curHandledGear^.Timer > 500) and ((curHandledGear^.Timer mod 1000) = 0)) then begin