hedgewars/hwengine.pas
changeset 7483 d479b98d38f7
parent 7433 c7fff3e61d49
child 7503 deaeac102355
child 7577 bdbb072b38b9
child 7578 d5c880e6d772
--- a/hedgewars/hwengine.pas	Sat Aug 04 21:08:46 2012 -0400
+++ b/hedgewars/hwengine.pas	Sat Aug 04 21:36:31 2012 -0400
@@ -57,6 +57,9 @@
         gsLandGen:
             begin
             GenMap;
+            uLandTexture.initModule;
+            UpdateLandTexture(0, LAND_WIDTH, 0, LAND_HEIGHT, false); 
+            uAILandMarks.initModule;
             ParseCommand('sendlanddigest', true);
             GameState:= gsStart;
             end;
@@ -401,7 +404,6 @@
         uAI.initModule;
         //uAIActions does not need initialization
         //uAIAmmoTests does not need initialization
-        uAILandMarks.initModule;
         uAIMisc.initModule;
         uAmmos.initModule;
         uChat.initModule;
@@ -413,7 +415,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;