diff -r 99f05a01a6a3 -r ece7b87f1334 hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Thu Sep 10 15:22:34 2009 +0000 +++ b/hedgewars/hwengine.pas Thu Sep 10 15:29:28 2009 +0000 @@ -275,14 +275,14 @@ 2: begin PathPrefix:= ParamStr(1); recordFileName:= ParamStr(2); - + for p:= Succ(Low(TPathType)) to High(TPathType) do if p <> ptMapCurrent then Pathz[p]:= PathPrefix + '/' + Pathz[p] end; 6: begin PathPrefix:= ParamStr(1); recordFileName:= ParamStr(2); - + if ParamStr(3) = '--set-video' then begin val(ParamStr(4), cScreenWidth); @@ -311,14 +311,14 @@ else DisplayUsage; end end; - + for p:= Succ(Low(TPathType)) to High(TPathType) do if p <> ptMapCurrent then Pathz[p]:= PathPrefix + '/' + Pathz[p] end; 11: begin PathPrefix:= ParamStr(1); recordFileName:= ParamStr(2); - + if ParamStr(3) = '--set-multimedia' then begin val(ParamStr(4), cScreenWidth); @@ -334,7 +334,7 @@ cFullScreen:= ParamStr(11) = '1'; end else DisplayUsage; - + for p:= Succ(Low(TPathType)) to High(TPathType) do if p <> ptMapCurrent then Pathz[p]:= PathPrefix + '/' + Pathz[p] end; @@ -360,7 +360,7 @@ cReducedQuality:= ParamStr(15) = '1'; end else DisplayUsage; - + for p:= Succ(Low(TPathType)) to High(TPathType) do if p <> ptMapCurrent then Pathz[p]:= PathPrefix + '/' + Pathz[p] end;