hedgewars/hwengine.pas
changeset 7503 deaeac102355
parent 7447 01111960a48d
parent 7483 d479b98d38f7
child 7615 b39beffcf05e
--- a/hedgewars/hwengine.pas	Thu Jul 26 21:58:25 2012 +0400
+++ b/hedgewars/hwengine.pas	Mon Aug 06 00:40:26 2012 +0400
@@ -59,6 +59,9 @@
         gsLandGen:
             begin
             GenMap;
+            uLandTexture.initModule;
+            UpdateLandTexture(0, LAND_WIDTH, 0, LAND_HEIGHT, false); 
+            uAILandMarks.initModule;
             ParseCommand('sendlanddigest', true);
             GameState:= gsStart;
             end;
@@ -462,7 +465,6 @@
         uAI.initModule;
         //uAIActions does not need initialization
         //uAIAmmoTests does not need initialization
-        uAILandMarks.initModule;
         uAIMisc.initModule;
         uAmmos.initModule;
         uChat.initModule;
@@ -474,7 +476,6 @@
         //uLandGraphics does not need initialization
         //uLandObjects does not need initialization
         //uLandTemplates does not need initialization
-        uLandTexture.initModule;
         //uLocale does not need initialization
         uRandom.initModule;
         uScript.initModule;