hedgewars/uUtils.pas
branchqmlfrontend
changeset 10515 7705784902e1
parent 10430 899a30018ede
parent 10505 03894bfb8bf3
child 10606 8e95911cb86b
--- a/hedgewars/uUtils.pas	Sun Nov 09 23:02:21 2014 +0300
+++ b/hedgewars/uUtils.pas	Tue Nov 18 23:39:30 2014 +0300
@@ -513,10 +513,18 @@
         if GameType = gmtRecord then
             logfileBase:= 'rec'
         else
-            logfileBase:= 'game';
+        {$IFDEF PAS2C}
+        logfileBase:= 'game_pas2c';
+        {$ELSE}
+        logfileBase:= 'game';
+        {$ENDIF}
     end
     else
+        {$IFDEF PAS2C}
+        logfileBase:= 'preview_pas2c';
+        {$ELSE}
         logfileBase:= 'preview';
+        {$ENDIF}
 {$IFDEF USE_VIDEO_RECORDING}
     InitCriticalSection(logMutex);
 {$ENDIF}