diff -r 64e059b6f9c5 -r c7849b74748d hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Mon Aug 02 15:23:16 2010 +0200 +++ b/hedgewars/hwengine.pas Mon Aug 02 18:13:29 2010 +0200 @@ -315,7 +315,7 @@ begin Randomize(); - uConsts.initModule; + // uConsts does not need initialization as they are all consts uMisc.initModule; uConsole.initModule; // MUST happen after uMisc @@ -386,7 +386,6 @@ uConsole.freeModule; uMisc.freeModule; // uMisc closes the debug log. - uConsts.freeModule; //stub end; ///////////////////////// @@ -446,7 +445,7 @@ if (ParamCount = 3) then internalSetGameTypeLandPreviewFromParameters() else - if (ParamCount = 18) then + if (ParamCount = cDefaultParamNum) then internalStartGameWithParameters() else playReplayFileWithParameters();