fix camera now being centered on land when game starts
authorsheepluva
Thu, 19 Jun 2014 00:16:58 +0200
changeset 10332 194f003b41a4
parent 10331 cb6c33839d2a
child 10333 e1253205eb7e
fix camera now being centered on land when game starts
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Thu Jun 19 00:09:03 2014 +0200
+++ b/hedgewars/uWorld.pas	Thu Jun 19 00:16:58 2014 +0200
@@ -228,7 +228,7 @@
 prevPoint.Y:= cScreenHeight div 2;
 //prevTargetPoint.X:= 0;
 //prevTargetPoint.Y:= 0;
-WorldDx:=  -(LAND_WIDTH div 2) + cScreenWidth div 2;
+WorldDx:=  -(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