hedgewars/uVariables.pas
changeset 10271 e770bfcf488a
parent 10266 a90a55ec5b98
child 10304 7e40820b7ed6
--- a/hedgewars/uVariables.pas	Tue Jun 10 19:30:06 2014 +0200
+++ b/hedgewars/uVariables.pas	Tue Jun 10 19:38:37 2014 +0200
@@ -214,6 +214,8 @@
     // for tracking the limits of the visible grid based on cScaleFactor
     ViewLeftX, ViewRightX, ViewBottomY, ViewTopY: LongInt;
 
+    dirtyLandTexCount: LongInt;
+
     hiTicks: Word;
 
     LuaGoals        : shortstring;
@@ -2597,6 +2599,8 @@
     cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH);
     cScreenSpace:= cRightScreenBorder - cLeftScreenBorder;
 
+    dirtyLandTexCount:= 0;
+
     vobFrameTicks:= 99999;
     vobFramesCount:= 4;
     vobCount:= 0;