--- a/hedgewars/hwengine.pas Mon Sep 27 04:58:26 2010 +0200
+++ b/hedgewars/hwengine.pas Mon Sep 27 15:40:20 2010 +0200
@@ -231,6 +231,7 @@
recordFileName:= gameArgs[10];
{$ENDIF}
+ cLogfileBase:= 'game';
initEverything(true);
WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');
{$IFDEF DEBUGFILE}
@@ -395,6 +396,7 @@
procedure GenLandPreview{$IFDEF HWLIBRARY}(port: LongInt); cdecl; export{$ENDIF};
var Preview: TPreview;
begin
+ cLogfileBase:= 'preview';
initEverything(false);
{$IFDEF HWLIBRARY}
WriteLnToConsole('Preview connecting on port ' + inttostr(port));