diff options
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r-- | engines/agi/cycle.cpp | 4 |
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"); |