hedgewars/hwengine.pas
changeset 10302 ea0b0e2efd95
parent 10273 99032c5be7ba
child 10304 7e40820b7ed6
--- a/hedgewars/hwengine.pas	Sat Jun 14 00:56:11 2014 +0200
+++ b/hedgewars/hwengine.pas	Sat Jun 14 02:25:49 2014 +0200
@@ -86,8 +86,7 @@
                 SetSound(false);
             FinishProgress;
             PlayMusic;
-            SetScale(zoom);
-            updateViewLimits;
+            InitZoom(zoom);
             ScriptCall('onGameStart');
             GameState:= gsGame;
             end;
@@ -276,7 +275,7 @@
             ScriptOnScreenResize();
             InitCameraBorders();
             InitTouchInterface();
-            updateViewLimits();
+            InitZoom(zoomValue);
             SendIPC('W' + IntToStr(cScreenWidth) + 'x' + IntToStr(cScreenHeight));
         end;