aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/verb.cpp
diff options
context:
space:
mode:
authorMax Horn2007-03-18 13:29:12 +0000
committerMax Horn2007-03-18 13:29:12 +0000
commit72ee9ee86a39c3edc4bcec9f283307d7dbd5e12d (patch)
treeb2c2577f04c3e0d816271a27c49469da416625b0 /engines/agos/verb.cpp
parent48cb57ec899d40653cd2a36f760235af133d0e7d (diff)
downloadscummvm-rg350-72ee9ee86a39c3edc4bcec9f283307d7dbd5e12d.tar.gz
scummvm-rg350-72ee9ee86a39c3edc4bcec9f283307d7dbd5e12d.tar.bz2
scummvm-rg350-72ee9ee86a39c3edc4bcec9f283307d7dbd5e12d.zip
Changed AGOS to use the EventManager to track the mouse position; added a FIXME comment about _mouseOld never being set
svn-id: r26206
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;