hedgewars/uLandUtils.pas
changeset 10994 cd7f918eed30
parent 10626 2562797ab3cf
child 11709 1694b379c83f
--- a/hedgewars/uLandUtils.pas	Fri Jun 12 17:28:20 2015 -0400
+++ b/hedgewars/uLandUtils.pas	Tue Jun 16 10:08:07 2015 -0400
@@ -27,7 +27,7 @@
     SetLength(Land, LAND_HEIGHT, LAND_WIDTH);
     SetLength(LandDirty, (LAND_HEIGHT div 32), (LAND_WIDTH div 32));
     // 0.5 is already approaching on unplayable
-    if (width div 4096 >= 2) or (height div 2048 >= 2) then cMaxZoomLevel:= 0.5;
+    if (width div 4096 >= 2) or (height div 2048 >= 2) then cMaxZoomLevel:= cMaxZoomLevel/2;
     cMinMaxZoomLevelDelta:= cMaxZoomLevel - cMinZoomLevel
     end;
 end;