diff options
author | Max Horn | 2002-07-26 19:41:20 +0000 |
---|---|---|
committer | Max Horn | 2002-07-26 19:41:20 +0000 |
commit | b9593a256ab78af7620f6587459f8ab80375e435 (patch) | |
tree | 79ae9fa0e4caefeae3d0d6218fe29ac0759cb1fa | |
parent | a493ffe81378fcede2cf8bbdcaf845eb2a76da53 (diff) | |
download | scummvm-rg350-b9593a256ab78af7620f6587459f8ab80375e435.tar.gz scummvm-rg350-b9593a256ab78af7620f6587459f8ab80375e435.tar.bz2 scummvm-rg350-b9593a256ab78af7620f6587459f8ab80375e435.zip |
fixed key repeat bug (F7, ESC, F7 -> dialog closed immediatly, this is fixed now)
svn-id: r4644
-rw-r--r-- | newgui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newgui.cpp b/newgui.cpp index 817afcf24f..48556321eb 100644 --- a/newgui.cpp +++ b/newgui.cpp @@ -100,6 +100,10 @@ void NewGui::loop() _textcolor = RGBMatch(_s->_currentPalette, 32, 192, 32); _textcolorhi = RGBMatch(_s->_currentPalette, 0, 256, 0); #endif + + _eventList.clear(); + _currentKeyDown = 0; + _prepare_for_gui = false; } |