Show timer at 999s instead of 1000s
authorWuzzy <almikes@aol.com>
Sun, 01 May 2016 00:09:14 +0200
changeset 11917 d819c04d0cbe
parent 11916 38fa4583e7f3
child 11918 9da78300c5d0
Show timer at 999s instead of 1000s
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Sat Apr 30 23:46:57 2016 +0200
+++ b/hedgewars/uWorld.pas	Sun May 01 00:09:14 2016 +0200
@@ -1425,7 +1425,7 @@
     offsetX:= 48;
 {$ENDIF}
     offsetY:= cOffsetY;
-    if ((TurnTimeLeft <> 0) and (TurnTimeLeft < 1000000)) or (ReadyTimeLeft <> 0) then
+    if ((TurnTimeLeft <> 0) and (TurnTimeLeft < 999000)) or (ReadyTimeLeft <> 0) then
         begin
         if ReadyTimeLeft <> 0 then
             i:= Succ(Pred(ReadyTimeLeft) div 1000)