diff -r 1f81bcce3ee6 -r 620560c89284 hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Sun Dec 16 12:05:32 2012 +0400 +++ b/hedgewars/hwengine.pas Sun Dec 16 12:25:13 2012 +0400 @@ -590,21 +590,11 @@ begin if (ParamCount >= 2) then begin - UserPathPrefix := ParamStr(1); - PathPrefix := ParamStr(2); - end; - if (ParamCount >= 3) then - recordFilename := ParamStr(3); - if (ParamCount = 2) or - ((ParamCount >= 3) and (Copy(recordFileName,1,2) = '--')) then - begin UserPathPrefix := '.'; PathPrefix := ParamStr(1); recordFileName := ParamStr(2); startIndex := 3; - end - else - startIndex := 4; + end; playReplayFileWithParameters(startIndex); end;