diff options
author | Filippos Karapetis | 2011-11-03 22:36:34 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-11-03 22:36:34 +0200 |
commit | 056c3992eb4715c7efa6ac2fb857e21d79d7a450 (patch) | |
tree | 3461356874446bc54266965ae34921fde3ba767e | |
parent | ed257a351fbe4ce332296811619893013ffcdf8a (diff) | |
download | scummvm-rg350-056c3992eb4715c7efa6ac2fb857e21d79d7a450.tar.gz scummvm-rg350-056c3992eb4715c7efa6ac2fb857e21d79d7a450.tar.bz2 scummvm-rg350-056c3992eb4715c7efa6ac2fb857e21d79d7a450.zip |
AGI: Commented out if statements that always evaluate to true
-rw-r--r-- | engines/agi/cycle.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp index 9cbab1f3c4..99649fb437 100644 --- a/engines/agi/cycle.cpp +++ b/engines/agi/cycle.cpp @@ -200,10 +200,11 @@ int AgiEngine::mainCycle() { // vars in every interpreter cycle. // // We run AGIMOUSE always as a side effect - if (getFeatures() & GF_AGIMOUSE || true) { + //if (getFeatures() & GF_AGIMOUSE) { _game.vars[28] = _mouse.x / 2; _game.vars[29] = _mouse.y; - } + //} + if (key == KEY_PRIORITY) { _sprites->eraseBoth(); _debug.priority = !_debug.priority; @@ -315,7 +316,7 @@ int AgiEngine::playGame() { _game.lineUserInput = 22; // We run AGIMOUSE always as a side effect - if (getFeatures() & GF_AGIMOUSE || true) + //if (getFeatures() & GF_AGIMOUSE) debug(1, "Using AGI Mouse 1.0 protocol"); if (getFeatures() & GF_AGIPAL) |