hedgewars/ArgParsers.pas
changeset 11151 5c40c65b619d
parent 11046 47a8c19ecb60
parent 11099 c51e4c942525
child 11408 b894922d58cc
child 11520 4dd77731453b
--- a/hedgewars/ArgParsers.pas	Thu Sep 10 04:59:02 2015 +0200
+++ b/hedgewars/ArgParsers.pas	Thu Sep 10 18:22:52 2015 +0200
@@ -335,7 +335,7 @@
 //var tmpInt: LongInt;
 begin
 
-    paramIndex:= 1;
+    paramIndex:= {$IFDEF HWLIBRARY}0{$ELSE}1{$ENDIF};
     paramTotal:= ParamCount; //-1 because pascal enumeration is inclusive
     (*
     WriteLn(stdout, 'total parameters: ' + inttostr(paramTotal));