hedgewars/ArgParsers.inc
changeset 7376 48b79b3ca592
parent 7306 3cff5c769509
child 7848 775a72905708
--- a/hedgewars/ArgParsers.inc	Mon Jul 09 16:42:13 2012 +0400
+++ b/hedgewars/ArgParsers.inc	Mon Jul 09 17:03:57 2012 +0400
@@ -61,10 +61,6 @@
     else 
         cStereoMode:= TStereoMode(max(0, min(ord(high(TStereoMode)), tmp-6)));
     cLocaleFName:= ParamStr(17);
-{$IFDEF USE_VIDEO_RECORDING}
-    cVideoFramerateNum:= StrToInt(ParamStr(18));
-    cVideoFramerateDen:= StrToInt(ParamStr(19));
-{$ENDIF}
 end;
 
 {$IFDEF USE_VIDEO_RECORDING}
@@ -72,13 +68,13 @@
 begin
     internalStartGameWithParameters();
     GameType:= gmtRecord;
+    cVideoFramerateNum:= StrToInt(ParamStr(18));
+    cVideoFramerateDen:= StrToInt(ParamStr(19));
     RecPrefix:= ParamStr(20);
     cAVFormat:= ParamStr(21);
     cVideoCodec:= ParamStr(22);
     cVideoQuality:= StrToInt(ParamStr(23));
-    cVideoPreset:= ParamStr(24);
-    cAudioCodec:= ParamStr(25);
-    cAudioQuality:= StrToInt(ParamStr(26));
+    cAudioCodec:= ParamStr(24);
 end;
 {$ENDIF}