diff --git a/src/editor/Editor.lpr b/src/editor/Editor.lpr
index 1ca2d20f5378c543ada9d7d268f207fec2b88100..eaf830dd4e54b85042be85b1135bac2548d14ead 100644 (file)
--- a/src/editor/Editor.lpr
+++ b/src/editor/Editor.lpr
WADEDITOR in '../shared/WADEDITOR.pas',
WADSTRUCT in '../shared/WADSTRUCT.pas',
CONFIG in '../shared/CONFIG.pas',
- xstreams in '../shared/xstreams.pas',
- dfzip in '../shared/dfzip.pas',
- sfs in '../sfs/sfs.pas',
- sfsPlainFS in '../sfs/sfsPlainFS.pas',
- sfsZipFS in '../sfs/sfsZipFS.pas',
-
f_about in 'f_about.pas' {AboutForm},
f_options in 'f_options.pas' {OptionsForm},
f_main in 'f_main.pas' {MainForm},
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;