hedgewars/uWorld.pas
changeset 14323 8d2983ff939b
parent 14320 5cff42e1dd92
child 14324 2978d6405d88
--- a/hedgewars/uWorld.pas	Mon Nov 26 19:10:08 2018 +0100
+++ b/hedgewars/uWorld.pas	Mon Nov 26 20:40:25 2018 +0100
@@ -363,7 +363,7 @@
 
 with pauseButton do
     begin
-    show:= true;
+    show:= gameType <> gmtNet;
     sprite:= sprPauseButton;
     frame.w:= Round(spritesData[sprPauseButton].Texture^.w * buttonScale);
     frame.h:= Round(spritesData[sprPauseButton].Texture^.h * buttonScale);
@@ -1655,7 +1655,10 @@
 
 // FPS and demo replay time
 {$IFDEF USE_TOUCH_INTERFACE}
-offsetX:= pauseButton.frame.y + pauseButton.frame.h + 12;
+if pauseButton.show then
+    offsetX:= pauseButton.frame.y + pauseButton.frame.h + 12
+else
+    offsetX:= 10;
 {$ELSE}
 offsetX:= 10;
 {$ENDIF}