hedgewars/uUtils.pas
changeset 7386 e82a076df09b
parent 7198 5debd5fe526e
child 7565 00568d3054d0
--- a/hedgewars/uUtils.pas	Tue Jul 10 21:56:25 2012 +0400
+++ b/hedgewars/uUtils.pas	Tue Jul 10 21:58:19 2012 +0400
@@ -421,7 +421,12 @@
 begin
 {$IFDEF DEBUGFILE}
     if isGame then
-        logfileBase:= 'game'
+    begin
+        if GameType = gmtRecord then
+            logfileBase:= 'rec'
+        else
+            logfileBase:= 'game';
+    end
     else
         logfileBase:= 'preview';
 {$IFDEF USE_VIDEO_RECORDING}