hedgewars/hwengine.pas
changeset 7304 8b3575750cd2
parent 7186 013deb83086b
child 11317 62287d4044e7
--- a/hedgewars/hwengine.pas	Mon Jun 25 16:22:03 2012 +0200
+++ b/hedgewars/hwengine.pas	Tue Jul 10 11:08:35 2012 +0200
@@ -31,7 +31,7 @@
 
 uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uInputHandler, uSound,
      uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uRandom, uLandTexture, uCollisions,
-     SysUtils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted
+     SysUtils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted, uTextures
      {$IFDEF SDL13}, uTouch{$ENDIF}{$IFDEF ANDROID}, GLUnit{$ENDIF};
 
 {$IFDEF HWLIBRARY}
@@ -412,6 +412,7 @@
         //uLandGraphics does not need initialization
         //uLandObjects does not need initialization
         //uLandTemplates does not need initialization
+        uTextures.initModule;
         uLandTexture.initModule;
         //uLocale does not need initialization
         uRandom.initModule;
@@ -461,6 +462,7 @@
     uIO.freeModule;
     uLand.freeModule;
     uLandPainted.freeModule;
+    uTextures.freeModule;
 
     uCommandHandlers.freeModule;
     uCommands.freeModule;