diff --git a/src/editor/Editor.lpr b/src/editor/Editor.lpr
index 1ca2d20f5378c543ada9d7d268f207fec2b88100..6bf0b86243c94bff222999756e0d4db8bde52f4a 100644 (file)
--- a/src/editor/Editor.lpr
+++ b/src/editor/Editor.lpr
Inc(i);
WadsDir := ParamStr(i);
end;
+ end
+ else if p = '--lang-dir' then
+ begin
+ if i + 1 <= ParamCount then
+ begin
+ Inc(i);
+ LangDir := ParamStr(i);
+ end;
end;
Inc(i);
end;