GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba8ea5
)
headless: use dfserver.cfg instead dfconfig.cfg by default
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 2 Feb 2022 14:18:34 +0000
(17:18 +0300)
committer
DeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 2 Feb 2022 14:18:34 +0000
(17:18 +0300)
src/game/g_console.pas
patch
|
blob
|
history
diff --git
a/src/game/g_console.pas
b/src/game/g_console.pas
index 12849af9cb8a94047db132e97234246af1b6500b..a4dddf3342cf16a931003728a6f0abd69121059d 100644
(file)
--- 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 - êîíñîëü îòêðûòà èëè îòêðûâàåòñÿ
DEADSOFTWARE 2012-2025