# HG changeset patch # User unc0rr # Date 1236528066 0 # Node ID 72af1c41434508b3f2a4d7b81050a9b3aa063036 # Parent 490005509a7bbe3aca666840df02af81d6f1131b Patch by nemo diff -r 490005509a7b -r 72af1c414345 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sun Mar 08 12:55:40 2009 +0000 +++ b/hedgewars/uWorld.pas Sun Mar 08 16:01:06 2009 +0000 @@ -40,7 +40,7 @@ implementation uses uStore, uMisc, uTeams, uIO, uConsole, uKeys, uLocale, uSound, GL, - uAmmos, uVisualGears, uChat, uLandTexture; + uAmmos, uVisualGears, uChat, uLandTexture, uLand; const FPS: Longword = 0; CountTicks: Longword = 0; @@ -68,6 +68,7 @@ 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; AMxShift:= 210 end;