X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_main.pas;h=808f7f643f0666dade55438487d967695f2019e4;hp=b0648049143f24291d0b00ea063294c3b5a4df70;hb=93f620df25ad634372657a64d609dcaf44e718bd;hpb=28bbe4d9b49c66e9dab264b037c426a7b38ce962 diff --git a/src/game/g_main.pas b/src/game/g_main.pas index b064804..808f7f6 100644 --- a/src/game/g_main.pas +++ b/src/game/g_main.pas @@ -29,7 +29,7 @@ procedure CharPress (C: AnsiChar); var {--- TO REMOVE ---} - GameDir: string; + //GameDir: string; {-----------------} {--- Read-only dirs ---} @@ -86,7 +86,7 @@ procedure InitPath; end; begin - GetDir(0, GameDir); + //GetDir(0, GameDir); i := 1; while i < ParamCount do @@ -138,7 +138,7 @@ begin AddDef(CacheDirs, 'data/cache'); AddDef(ConfigDirs, '.'); AddDef(MapDownloadDirs, 'maps/downloads'); - AddDef(WadDownloadDirs, 'wad/downloads'); + AddDef(WadDownloadDirs, 'wads/downloads'); AddDef(ScreenshotDirs, 'screenshots'); for i := 0 to High(MapDirs) do @@ -266,7 +266,7 @@ begin if assigned(oglInitCB) then oglInitCB; {$ENDIF} - //g_Res_CreateDatabases(); // it will be done before connecting to the server for the first time + //g_Res_CreateDatabases(true); // it will be done before connecting to the server for the first time e_WriteLog('Entering SDLMain', TMsgType.Notify);