Adjust initial camera position
authornemo
Tue, 26 May 2009 02:31:45 +0000
changeset 2119 d07828a0748e
parent 2118 0ebcc98ebc1a
child 2120 fa1a87212703
Adjust initial camera position
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Mon May 25 17:54:27 2009 +0000
+++ b/hedgewars/uWorld.pas	Tue May 26 02:31:45 2009 +0000
@@ -73,8 +73,8 @@
 prevPoint.X:= cScreenWidth div 2;
 prevPoint.Y:= cScreenHeight div 2;
 WorldDx:=  - (LAND_WIDTH div 2) + cScreenWidth div 2;
-WorldDy:=  - LAND_HEIGHT + (cScreenHeight - playHeight) div 2;
-WorldDy:=  - (LAND_HEIGHT div 2) + cScreenHeight div 2;
+//WorldDy:=  - (LAND_HEIGHT div 2) + cScreenHeight div 2;
+WorldDy:=  -playHeight + cScreenHeight div 2;
 AMxShift:= 210
 end;