SHERLOCK: Improve flagging for can load/save

This commit is contained in:
Paul Gilbert 2015-07-15 18:52:28 -04:00
parent 18406818eb
commit 8b5716f538
2 changed files with 3 additions and 1 deletions

View File

@ -191,7 +191,7 @@ void SherlockEngine::sceneLoop() {
}
void SherlockEngine::handleInput() {
_canLoadSave = true;
_canLoadSave = _ui->_menuMode == STD_MODE;
_events->pollEventsAndWait();
_canLoadSave = false;

View File

@ -232,7 +232,9 @@ void TattooUserInterface::handleInput() {
TattooScene &scene = *(TattooScene *)_vm->_scene;
Common::Point mousePos = events.mousePos();
_vm->_canLoadSave = _menuMode == STD_MODE;
events.pollEventsAndWait();
_vm->_canLoadSave = false;
_keyState.keycode = Common::KEYCODE_INVALID;
// Check the mouse positioning