Initialize newGameTicks/newRealTicks
authorWuzzy <Wuzzy2@mail.ru>
Thu, 17 Jan 2019 22:48:14 +0100
changeset 14628 a049926fcdd3
parent 14627 2e2b31cf0871
child 14629 8ffa0c27f434
Initialize newGameTicks/newRealTicks
hedgewars/hwengine.pas
--- a/hedgewars/hwengine.pas	Thu Jan 17 15:57:46 2019 +0300
+++ b/hedgewars/hwengine.pas	Thu Jan 17 22:48:14 2019 +0100
@@ -327,6 +327,9 @@
     DoTimer(0); // gsLandGen -> gsStart
     DoTimer(0); // gsStart -> gsGame
 
+    newGameTicks:= 0;
+    newRealTicks:= 0;
+
     if not LoadNextCameraPosition(newRealTicks, newGameTicks) then
         exit;
     fastScrolling:= true;