diff -r 1fb80cd8ba7b -r 5c40c65b619d hedgewars/ArgParsers.pas --- 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));