# HG changeset patch # User sheepluva # Date 1403129818 -7200 # Node ID 194f003b41a45b0d71fd25a0d69f15a04b72f1bd # Parent cb6c33839d2ae23278617dd4389087b72b9f93b9 fix camera now being centered on land when game starts diff -r cb6c33839d2a -r 194f003b41a4 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