aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-02 18:53:03 -0400
committerPaul Gilbert2015-08-02 18:53:03 -0400
commit9f74d342a87da25c96550f2528e0eab67eb6897a (patch)
tree9b86c5c26effdf1386201badcfccf5fc50382e43 /engines
parent74147989e549741c7cfdd8a124b3841287b8ba49 (diff)
downloadscummvm-rg350-9f74d342a87da25c96550f2528e0eab67eb6897a.tar.gz
scummvm-rg350-9f74d342a87da25c96550f2528e0eab67eb6897a.tar.bz2
scummvm-rg350-9f74d342a87da25c96550f2528e0eab67eb6897a.zip
SHERLOCK: RT: Fix saving in the lab table scene
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/sherlock.cpp2
-rw-r--r--engines/sherlock/tattoo/tattoo_user_interface.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp
index 18b9332867..17acfcda22 100644
--- a/engines/sherlock/sherlock.cpp
+++ b/engines/sherlock/sherlock.cpp
@@ -191,7 +191,7 @@ void SherlockEngine::sceneLoop() {
}
void SherlockEngine::handleInput() {
- _canLoadSave = _ui->_menuMode == STD_MODE;
+ _canLoadSave = _ui->_menuMode == STD_MODE || _ui->_menuMode == LAB_MODE;
_events->pollEventsAndWait();
_canLoadSave = false;
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp
index 5b56c94d3a..dda46deb54 100644
--- a/engines/sherlock/tattoo/tattoo_user_interface.cpp
+++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp
@@ -246,9 +246,6 @@ 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 for credits starting