aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/cycle.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-02-13 15:27:36 +0000
committerEugene Sandulenko2007-02-13 15:27:36 +0000
commit80eb248a0eb22f6ba8e052047e8af3c3bf948087 (patch)
treecb2c86c17aaf931fd9a6e8f17f4ef033e3ad59e9 /engines/agi/cycle.cpp
parent433e7d69ac155c03ded74de11b4f1db4dbfc2a2f (diff)
downloadscummvm-rg350-80eb248a0eb22f6ba8e052047e8af3c3bf948087.tar.gz
scummvm-rg350-80eb248a0eb22f6ba8e052047e8af3c3bf948087.tar.bz2
scummvm-rg350-80eb248a0eb22f6ba8e052047e8af3c3bf948087.zip
Get rid of _opt. Cleanup.
svn-id: r25549
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r--engines/agi/cycle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index 2309f26e2b..c695ae82ba 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -201,7 +201,7 @@ int AgiEngine::mainCycle() {
/* In AGI Mouse emulation mode we must update the mouse-related
* vars in every interpreter cycle.
*/
- if (_opt.agimouse) {
+ if (getFeatures() & GF_AGIMOUSE) {
_game.vars[28] = g_mouse.x / 2;
_game.vars[29] = g_mouse.y;
}
@@ -302,7 +302,7 @@ int AgiEngine::playGame() {
_game.clockEnabled = true;
_game.lineUserInput = 22;
- if (_opt.agimouse)
+ if (getFeatures() & GF_AGIMOUSE)
report("Using AGI Mouse 1.0 protocol\n");
report("Running AGI script.\n");