aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/verb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/verb.cpp')
-rw-r--r--engines/agos/verb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp
index 8a982a44ac..59d75b4061 100644
--- a/engines/agos/verb.cpp
+++ b/engines/agos/verb.cpp
@@ -511,9 +511,9 @@ void AGOSEngine::resetVerbs() {
if (getGameType() == GType_SIMON2) {
id = 2;
if (!getBitFlag(79))
- id = (_mouseY >= 136) ? 102 : 101;
+ id = (_mouse.y >= 136) ? 102 : 101;
} else {
- id = (_mouseY >= 136) ? 102 : 101;
+ id = (_mouse.y >= 136) ? 102 : 101;
}
_defaultVerb = id;