diff options
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r-- | saga/interface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp index 6a2fd1d5e6..540b5aac5a 100644 --- a/saga/interface.cpp +++ b/saga/interface.cpp @@ -1080,9 +1080,11 @@ void Interface::setSave(PanelButton *panelButton) { fileName = _vm->calcSaveFileName(_vm->getSaveFile(_optionSaveFileTitleNumber)->slotNumber); _vm->save(fileName, _textInputString); } + _textInput = false; setMode(kPanelOption); break; case kTextCancel: + _textInput = false; setMode(kPanelOption); break; } @@ -1258,6 +1260,9 @@ void Interface::setOption(PanelButton *panelButton) { void Interface::update(const Point& mousePoint, int updateFlag) { + if (!_active && _panelMode == kPanelNull && (updateFlag & UPDATE_MOUSECLICK)) + _vm->_actor->abortSpeech(); + if (_vm->_scene->isInDemo() || _fadeMode == kFadeOut || !_active) { return; } |