# HG changeset patch
# User sheepluva
# Date 1417742495 -3600
# Node ID 9361e7d7c41085eb29b9678a7cb870d3f88fd44f
# Parent  07ff179b0d97ec353c9fe396905dbed2d5a2bdda
better initial camera position

diff -r 07ff179b0d97 -r 9361e7d7c410 hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Fri Dec 05 02:20:33 2014 +0100
+++ b/hedgewars/uWorld.pas	Fri Dec 05 02:21:35 2014 +0100
@@ -228,7 +228,7 @@
 prevPoint.Y:= cScreenHeight div 2;
 //prevTargetPoint.X:= 0;
 //prevTargetPoint.Y:= 0;
-WorldDx:=  -(LAND_WIDTH div 2);// + cScreenWidth div 2;
+WorldDx:=  -(LongInt(leftX + (playWidth div 2))); // -(LAND_WIDTH div 2);// + cScreenWidth div 2;
 WorldDy:=  -(LAND_HEIGHT - (playHeight div 2)) + (cScreenHeight div 2);
 
 //aligns it to the bottom of the screen, minus the border