diff options
-rw-r--r-- | kyra/gui.cpp | 1 | ||||
-rw-r--r-- | kyra/kyra.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/kyra/gui.cpp b/kyra/gui.cpp index 296f46b04e..8e98f8a9a6 100644 --- a/kyra/gui.cpp +++ b/kyra/gui.cpp @@ -798,6 +798,7 @@ int KyraEngine::gui_saveGame(Button *button) { gui_redrawTextfield(); _keyboardEvent.pending = 0; + _keyboardEvent.repeat = 0; while (_displaySubMenu) { gui_getInput(); gui_updateSavegameString(); diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp index dcdd281d92..b96273b2bc 100644 --- a/kyra/kyra.cpp +++ b/kyra/kyra.cpp @@ -1314,7 +1314,7 @@ int KyraEngine::handleBeadState() { static const int table1[] = { -1, -2, -4, -5, -6, -7, -6, -5, -4, -2, -1, 0, 1, 2, 4, 5, - 6, 7, 6, 5, 4, 2, 1, 0 + 6, 7, 6, 5, 4, 2, 1, 0, 0 }; static const int table2[] = { 0, 0, 1, 1, 2, 2, 3, 3, @@ -1322,7 +1322,7 @@ int KyraEngine::handleBeadState() { 3, 3, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0 }; switch (_beadStateVar) { |