diff options
author | Paul Gilbert | 2012-11-25 20:31:45 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-11-25 20:31:45 +1100 |
commit | dc07463dfd2dfcf5132cd338599521df98d089d2 (patch) | |
tree | 7217aecfda321016f03a9e5837569a5c2fe258c2 | |
parent | f6a098bc4f804feb0708ab92b6f9f950d0ac5fdd (diff) | |
download | scummvm-rg350-dc07463dfd2dfcf5132cd338599521df98d089d2.tar.gz scummvm-rg350-dc07463dfd2dfcf5132cd338599521df98d089d2.tar.bz2 scummvm-rg350-dc07463dfd2dfcf5132cd338599521df98d089d2.zip |
HOPKINS: Disable scene scrolling when the Options or save/load dialog is shown
-rw-r--r-- | engines/hopkins/dialogs.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/hopkins/dialogs.cpp b/engines/hopkins/dialogs.cpp index 000afed3c8..d30cdafafa 100644 --- a/engines/hopkins/dialogs.cpp +++ b/engines/hopkins/dialogs.cpp @@ -531,13 +531,19 @@ void DialogsManager::TestForDialogOpening() { _vm->_dialogsManager.showInventory(); break; case KEY_OPTIONS: + _vm->_graphicsManager.no_scroll = 1; _vm->_dialogsManager.showOptionsDialog(); + _vm->_graphicsManager.no_scroll = 0; break; case KEY_LOAD: + _vm->_graphicsManager.no_scroll = 1; _vm->_dialogsManager.CHARGE_PARTIE(); + _vm->_graphicsManager.no_scroll = 0; break; case KEY_SAVE: + _vm->_graphicsManager.no_scroll = 1; _vm->_dialogsManager.SAUVE_PARTIE(); + _vm->_graphicsManager.no_scroll = 0; break; default: break; |