X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_menu.pas;h=19a9a1dd6cfa86817ebef5a42487a83b73197876;hb=e962cbff359d8ee0abf003a2c4d0934f2a22f536;hp=bf16be8604bbb3ba5a91b4156d4a5fb23819d5c7;hpb=64e4a0cca80170987eb2c67d111a7c43ba6304b6;p=d2df-sdl.git diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas index bf16be8..19a9a1d 100644 --- a/src/game/g_menu.pas +++ b/src/game/g_menu.pas @@ -43,7 +43,7 @@ var implementation uses - g_gui, g_textures, r_graphics, g_window, g_game, g_map, + g_gui, g_textures, r_graphics, g_game, g_map, g_base, g_basic, g_console, g_sound, g_gfx, g_player, g_options, g_weapons, e_log, SysUtils, CONFIG, g_playermodel, DateUtils, MAPDEF, Math, g_saveload, @@ -3807,16 +3807,11 @@ end; procedure g_Menu_Init(); begin MenuLoadData(); - g_GUI_Init(); CreateAllMenus(); end; procedure g_Menu_Free(); begin - g_GUI_Destroy(); - - e_WriteLog('Releasing menu data...', TMsgType.Notify); - MenuFreeData(); end;