diff options
Diffstat (limited to 'engines/mads/action.cpp')
-rw-r--r-- | engines/mads/action.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp index ccfd13be1d..e227d7c700 100644 --- a/engines/mads/action.cpp +++ b/engines/mads/action.cpp @@ -366,7 +366,7 @@ void MADSAction::checkActionAtMousePos() { scene._lookFlag = true; } - if (_vm->_events->_anyStroke && _vm->_events->_mouseButtons) { + if (_vm->_events->_rightMousePressed && _vm->_events->_mouseButtons) { switch (userInterface._category) { case CAT_COMMAND: case CAT_INV_VOCAB: @@ -507,7 +507,7 @@ void MADSAction::leftClick() { } } - if (abortFlag || (_vm->_events->_anyStroke && (userInterface._category == CAT_COMMAND || + if (abortFlag || (_vm->_events->_rightMousePressed && (userInterface._category == CAT_COMMAND || userInterface._category == CAT_INV_VOCAB))) return; |