aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTobias Gunkel2012-01-11 22:50:35 +0100
committerTobias Gunkel2012-02-11 08:28:38 +0100
commitffcd6004613d42d924d20a42694e870c041dadaa (patch)
tree9e702cb3735a345dfccdbf72e1f9775e8d081a5b /engines/scumm
parent4bc726b9958a26e9ce82d00c8fd4ced35b83b83d (diff)
downloadscummvm-rg350-ffcd6004613d42d924d20a42694e870c041dadaa.tar.gz
scummvm-rg350-ffcd6004613d42d924d20a42694e870c041dadaa.tar.bz2
scummvm-rg350-ffcd6004613d42d924d20a42694e870c041dadaa.zip
SCUMM: make what-is verb work in v0 again
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/verbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp
index e70ae49b34..30d0d02976 100644
--- a/engines/scumm/verbs.cpp
+++ b/engines/scumm/verbs.cpp
@@ -784,7 +784,7 @@ void ScummEngine_v0::checkExecVerbs() {
_activeVerb = kVerbPush;
}
- if (_mouseAndKeyboardStat < MBS_MAX_KEY) {
+ if (_mouseAndKeyboardStat > 0 && _mouseAndKeyboardStat < MBS_MAX_KEY) {
// TODO: check keypresses
} else if ((_mouseAndKeyboardStat & MBS_MOUSE_MASK) || _activeVerb == kVerbWhatIs) {
// click region: sentence line