hedgewars/uVariables.pas
branchios-revival
changeset 11136 9b5f60bc059e
parent 11112 520b57e0c518
child 11151 5c40c65b619d
--- a/hedgewars/uVariables.pas	Sun Aug 16 02:32:03 2015 +0200
+++ b/hedgewars/uVariables.pas	Tue Aug 18 00:51:23 2015 +0200
@@ -2672,8 +2672,13 @@
     vobSDVelocity:= 15;
     vobSDFallSpeed:= 250;
 
+{$IFDEF MOBILE}
+    cMinScreenWidth  := min(cScreenWidth, 480);
+    cMinScreenHeight := min(cScreenHeight, 320);
+{$ELSE}
     cMinScreenWidth  := min(cScreenWidth, 640);
     cMinScreenHeight := min(cScreenHeight, 480);
+{$ENDIF}
 
     cNewScreenWidth    := cScreenWidth;
     cNewScreenHeight   := cScreenHeight;