X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_menu.pas;h=19a9a1dd6cfa86817ebef5a42487a83b73197876;hb=e4186a2f4f35eec5321707bdc4eb2cbc94edccd0;hp=4ad532c9da32dd64027cfdc7eceb06c19788919d;hpb=1170681f83ea7923ba2c52c6bc201f349a7b9930;p=d2df-sdl.git diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas index 4ad532c..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_main, 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;