hedgewars/hwengine.pas
changeset 4374 bcefeeabaa33
parent 4373 fe0e3903bb9e
child 4376 9654205a9424
--- a/hedgewars/hwengine.pas	Thu Nov 18 09:12:27 2010 +0300
+++ b/hedgewars/hwengine.pas	Thu Nov 18 11:32:47 2010 +0300
@@ -31,7 +31,7 @@
 
 uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uKeys, uSound,
      uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uRandom, uLandTexture, uCollisions, uMobile,
-     sysutils, uTypes, uVariables, uCommands;
+     sysutils, uTypes, uVariables, uCommands, uUtils;
 
 var isTerminated: boolean = false;
     alsoShutdownFrontend: boolean = false;
@@ -319,6 +319,7 @@
     Randomize();
 
     // uConsts does not need initialization as they are all consts
+    uUtils.initModule;
     uMisc.initModule;
     uVariables.initModule;
     uConsole.initModule;    // MUST happen after uMisc
@@ -392,6 +393,7 @@
     uCommands.freeModule;
     uConsole.freeModule;
     uVariables.freeModule;
+    uUtils.freeModule;
     uMisc.freeModule;           // uMisc closes the debug log.
 end;