X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame%2Fg_game.pas;h=6f70992fef7a5f5a48e3bad1e50d77e9722b1f86;hb=83ba12ea2028427bb2e8c1c362294e04c1d55008;hp=a2dacb982a9ee91a1127e1b18e74c3082fca9b39;hpb=4ccbf11728e4791e277d8d2c5e6a9b3ef55d4ec5;p=d2df-sdl.git diff --git a/src/game/g_game.pas b/src/game/g_game.pas index a2dacb9..6f70992 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -388,7 +388,7 @@ uses g_holmes, {$ENDIF} e_texture, e_res, g_textures, g_window, g_menu, - e_input, e_log, g_console, g_items, g_map, g_panel, + e_input, e_log, g_console, r_console, g_items, g_map, g_panel, g_playermodel, g_gfx, g_options, Math, g_triggers, g_monsters, e_sound, CONFIG, g_language, g_net, g_main, g_phys, @@ -1399,6 +1399,7 @@ begin g_Game_SetLoadingText('', 0, False); g_Game_SetLoadingText(_lc[I_LOAD_CONSOLE], 0, False); + r_Console_Init; g_Console_Init(); g_Game_SetLoadingText(_lc[I_LOAD_MODELS], 0, False); @@ -1795,6 +1796,7 @@ begin // no need to, as we'll do it in event handler // Îáíîâëÿåì êîíñîëü (äâèæåíèå è ñîîáùåíèÿ): + r_Console_Update; g_Console_Update(); if (NetMode = NET_NONE) and (g_Game_IsNet) and (gGameOn or (gState in [STATE_FOLD, STATE_INTERCUSTOM])) then @@ -4171,7 +4173,7 @@ begin end; {$IFNDEF HEADLESS} - g_Console_Draw(); + r_Console_Draw(); {$ENDIF} if g_debug_Sounds and gGameOn then