aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-04-04 11:28:37 +0000
committerTravis Howell2006-04-04 11:28:37 +0000
commit778a528df36ad763084e8b025f51830593e35645 (patch)
tree2ef12014b2cd4639b3bbdce6054cb312d83a6175
parentcc75c6809079e942e55f6f21ed976a6a1b67e031 (diff)
downloadscummvm-rg350-778a528df36ad763084e8b025f51830593e35645.tar.gz
scummvm-rg350-778a528df36ad763084e8b025f51830593e35645.tar.bz2
scummvm-rg350-778a528df36ad763084e8b025f51830593e35645.zip
_noRightClick got reversed in setVerb for FF
svn-id: r21591
-rw-r--r--engines/simon/simon.cpp2
-rw-r--r--engines/simon/verb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index 9712ec89f3..350b00acf2 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -1726,7 +1726,7 @@ void SimonEngine::handle_mouse_moved() {
}
if (_rightButtonDown) {
- _rightButtonDown = false;
+ _rightButtonDown = 0;
setVerb(NULL);
}
}
diff --git a/engines/simon/verb.cpp b/engines/simon/verb.cpp
index 65b4126bd2..d17e08adb7 100644
--- a/engines/simon/verb.cpp
+++ b/engines/simon/verb.cpp
@@ -443,7 +443,7 @@ void SimonEngine::resetVerbs() {
void SimonEngine::setVerb(HitArea *ha) {
if (getGameType() == GType_FF) {
int cursor = _mouseCursor;
- if (!_noRightClick)
+ if (_noRightClick)
return;
if (cursor > 13)