diff -r 2396a2731054 -r eb91c02f2d84 hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Tue Aug 24 13:24:37 2010 +0200 +++ b/hedgewars/hwengine.pas Tue Aug 24 17:03:44 2010 +0200 @@ -263,6 +263,11 @@ ShowMainWindow(); {$ENDIF} + // those values still aren't perfect + cLeftScreenBorder:= round(-cMinZoomLevel * cScreenWidth); + cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH); + cScreenSpace:= cRightScreenBorder - cLeftScreenBorder; + AddProgress(); ControllerInit(); // has to happen before InitKbdKeyTable to map keys