X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=blobdiff_plain;f=src%2Feditor%2FEditor.lpr;h=171c8564c25c7313e70c80e65dc5cd8d0ee7aa10;hp=b96ed23cf0adbf4d55c0d167410ffcd8685dead4;hb=c8c226903e99aea13032c2a321809dd360dddac1;hpb=a97fbe542af199db61003389576f0274bb90b940 diff --git a/src/editor/Editor.lpr b/src/editor/Editor.lpr index b96ed23..171c856 100644 --- a/src/editor/Editor.lpr +++ b/src/editor/Editor.lpr @@ -120,15 +120,11 @@ uses end; procedure CheckParamFiles; - var i: Integer; path: AnsiString; + var i: Integer; begin i := ParamFileIndex; if i <= ParamCount then - begin - path := ParamStr(i); - if path <> '' then - OpenMap(path, ''); - end; + StartMap := ParamStr(i); end; procedure InitLogs;