--- 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;