diff -r bf8bfc6ceca0 -r 356fbb672f84 hedgewars/ArgParsers.inc --- a/hedgewars/ArgParsers.inc Sat Nov 26 11:40:54 2011 +0100 +++ b/hedgewars/ArgParsers.inc Sat Nov 26 11:47:31 2011 +0100 @@ -159,7 +159,7 @@ recordFileName:= ParamStr(3); paramIndex:= 4; wrongParameter:= false; - while (paramIndex <= ParamCount) and not wrongParameter do + while (paramIndex <= ParamCount) and (not wrongParameter) do begin if ParamStr(paramIndex) = '--set-video' then //--set-video [screen width] [screen height] [color dept]