hedgewars/hwengine.pas
changeset 3914 c5c903c6225b
parent 3904 22e4d74240e5
child 3922 44804043b691
--- 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));