hedgewars/ArgParsers.inc
changeset 8309 edcfb5e43245
parent 8308 cdf83bdf7b27
child 8325 ecd51650d5d8
--- a/hedgewars/ArgParsers.inc	Mon Dec 17 00:34:49 2012 +0100
+++ b/hedgewars/ArgParsers.inc	Mon Dec 17 00:43:52 2012 +0100
@@ -23,7 +23,7 @@
     UserPathPrefix:= ParamStr(1);
     cScreenWidth:= StrToInt(ParamStr(2));
     cScreenHeight:= StrToInt(ParamStr(3));
-    cBits:= StrToInt(ParamStr(4));
+    //cBits:= StrToInt(ParamStr(4));
     ipcPort:= StrToInt(ParamStr(5));
     cFullScreen:= ParamStr(6) = '1';
     SetSound(ParamStr(7) = '1');
@@ -156,7 +156,7 @@
         {--low-quality}    12 : cReducedQuality:= $FFFFFFFF xor rqLowRes;
         {--raw-quality}    13 : cReducedQuality:= getLongIntParameter(arg, paramIndex, parseParameter);
         {deprecated options}
-        {--depth}          14 : cBits          := getLongIntParameter(arg, paramIndex, parseParameter);
+        {--depth}          14 : {do nothing};
         {--set-video}      15 : parseClassicParameter(videoArray,3,paramIndex);
         {--set-audio}      16 : parseClassicParameter(audioArray,3,paramIndex);
         {--set-other}      17 : parseClassicParameter(otherArray,3,paramIndex);