# HG changeset patch # User antonc27 # Date 1439851883 -7200 # Node ID 9b5f60bc059e482f748794b6542aa74ca2617db5 # Parent b34c0e2b546abc9dda00a7c0f280dbb41d29f02d - Fix for iPhone 4S screen size diff -r b34c0e2b546a -r 9b5f60bc059e hedgewars/uVariables.pas --- 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;