From: DeaDDooMER Date: Wed, 2 Feb 2022 14:18:34 +0000 (+0300) Subject: headless: use dfserver.cfg instead dfconfig.cfg by default X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=6ad77f0278fea1efb663503d132a9116f054fb7e;p=d2df-sdl.git headless: use dfserver.cfg instead dfconfig.cfg by default --- diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 12849af..a4dddf3 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -74,7 +74,11 @@ function conGetBoolArg (p: SSArray; idx: Integer): Integer; function conParseFloat (var res: Single; const s: AnsiString): Boolean; const - defaultConfigScript = 'dfconfig.cfg'; + {$IFDEF HEADLESS} + defaultConfigScript = 'dfserver.cfg'; + {$ELSE} + defaultConfigScript = 'dfconfig.cfg'; + {$ENDIF} var gConsoleShow: Boolean = false; // True - êîíñîëü îòêðûòà èëè îòêðûâàåòñÿ