diff --git a/src/game/g_map.pas b/src/game/g_map.pas
index 22a9aee280e1d2d8295ea8191655dd3645a10936..a4b2064a98e26b9609aa691c77fcb2f90eb61c2f 100644 (file)
--- a/src/game/g_map.pas
+++ b/src/game/g_map.pas
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,
finally
sfsGCEnable(); // enable releasing unused volumes
mapReader.Free();
+ e_ClearInputBuffer(); // why not?
end;
e_WriteLog('Done loading map.', MSG_NOTIFY);