DEADSOFTWARE

game: create/refresh hash databases only when the game is going to conntect to any...
[d2df-sdl.git] / src / game / g_main.pas
index e73bf6eaf9eee515958700d8d754d283903c8e0e..3b84f30eb820982eae315c8147e4eccdfdc9458a 100644 (file)
@@ -44,7 +44,7 @@ uses
   e_graphics, e_input, g_game, g_console, g_gui,
   e_sound, g_options, g_sound, g_player, g_basic,
   g_weapons, SysUtils, g_triggers, MAPDEF, g_map,
-  g_menu, g_language, g_net, g_touch,
+  g_menu, g_language, g_net, g_touch, g_res_downloader,
   utils, conbuf, envvars,
   xparser;
 
@@ -161,6 +161,8 @@ begin
   g_holmes_imfunctional := not flexloaded;
 {$ENDIF}
 
+  //g_Res_CreateDatabases(); // it will be done before connecting to the server for the first time
+
   e_WriteLog('Entering SDLMain', TMsgType.Notify);
 
 {$WARNINGS OFF}