X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=a4dddf3342cf16a931003728a6f0abd69121059d;hp=12849af9cb8a94047db132e97234246af1b6500b;hb=6ad77f0278fea1efb663503d132a9116f054fb7e;hpb=9ba8ea50592447e5c5874f94338e7dd75f5a35ed 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 - êîíñîëü îòêðûòà èëè îòêðûâàåòñÿ