X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_map.pas;h=a4b2064a98e26b9609aa691c77fcb2f90eb61c2f;hb=96165a1a95f0ea18a20dd8578fade4b46ec23746;hp=22a9aee280e1d2d8295ea8191655dd3645a10936;hpb=2fa77a7c9667395ef6d4141cde69ff6349bf301e;p=d2df-sdl.git diff --git a/src/game/g_map.pas b/src/game/g_map.pas index 22a9aee..a4b2064 100644 --- a/src/game/g_map.pas +++ b/src/game/g_map.pas @@ -218,7 +218,7 @@ var implementation uses - g_main, e_log, SysUtils, g_items, g_gfx, g_console, + e_input, g_main, e_log, SysUtils, g_items, g_gfx, g_console, GL, GLExt, g_weapons, g_game, g_sound, e_sound, CONFIG, g_options, g_triggers, g_player, Math, g_monsters, g_saveload, g_language, g_netmsg, @@ -2108,6 +2108,7 @@ begin finally sfsGCEnable(); // enable releasing unused volumes mapReader.Free(); + e_ClearInputBuffer(); // why not? end; e_WriteLog('Done loading map.', MSG_NOTIFY);