--- a/hedgewars/hwengine.pas Wed Nov 17 22:09:07 2010 -0500
+++ b/hedgewars/hwengine.pas Thu Nov 18 09:12:27 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;
+ sysutils, uTypes, uVariables, uCommands;
var isTerminated: boolean = false;
alsoShutdownFrontend: boolean = false;
@@ -322,6 +322,7 @@
uMisc.initModule;
uVariables.initModule;
uConsole.initModule; // MUST happen after uMisc
+ uCommands.initModule;
uLand.initModule;
uIO.initModule;
@@ -388,6 +389,7 @@
uIO.freeModule; //stub
uLand.freeModule;
+ uCommands.freeModule;
uConsole.freeModule;
uVariables.freeModule;
uMisc.freeModule; // uMisc closes the debug log.