hedgewars/uWorld.pas
changeset 282 b1e3387389b6
parent 281 5b483aa9f2ab
child 284 22ce72bd637f
--- a/hedgewars/uWorld.pas	Mon Nov 27 17:29:08 2006 +0000
+++ b/hedgewars/uWorld.pas	Tue Nov 28 17:14:39 2006 +0000
@@ -57,7 +57,7 @@
 procedure InitWorld;
 begin
 cWaterSprCount:= 1 + cScreenWidth div (SpritesData[sprWater].Width);
-cScreenEdgesDist:= Min(cScreenWidth div 4, cScreenHeight div 4);
+cScreenEdgesDist:= Min(cScreenWidth div 2 - 100, cScreenHeight div 2 - 50);
 SDL_WarpMouse(cScreenWidth div 2, cScreenHeight div 2);
 prevPoint.X:= cScreenWidth div 2;
 prevPoint.Y:= cScreenHeight div 2;