hedgewars/uWorld.pas
changeset 10628 9361e7d7c410
parent 10627 07ff179b0d97
child 10634 35d059bd0932
--- 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