Fix sidFPS not being properly right-aligned (again!)
authorWuzzy <Wuzzy2@mail.ru>
Sun, 30 Jun 2019 11:20:22 +0200
changeset 15206 d48eba5ac715
parent 15205 8705ee93f8b3
child 15207 bd40ad7b6eee
Fix sidFPS not being properly right-aligned (again!) FPS display worked before, but it was accidentally un-done in bcecb3349948e2e00d3f2ee0c6497a24676a4efb.
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Sat Jun 29 23:12:21 2019 +0200
+++ b/hedgewars/uWorld.pas	Sun Jun 30 11:20:22 2019 +0200
@@ -1777,7 +1777,7 @@
                 i:= fpsTexture^.h + 5
             else
                 i:= 0;
-            DrawTexture((cScreenWidth shr 1) - 60 - offsetX, offsetY + i, fpsTexture);
+            DrawTexture((cScreenWidth shr 1) - 20 - fpsTexture^.w - offsetX, offsetY + i, fpsTexture);
             end;
         end;
 end;