aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/cycle.cpp4
-rw-r--r--engines/agi/op_cmd.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index c185c3efb3..b7eba22298 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -203,7 +203,7 @@ int AgiEngine::mainCycle() {
// vars in every interpreter cycle.
//
// We run AGIMOUSE always as a side effect
- if (getFeatures() & GF_AGIMOUSE || 1) {
+ if (getFeatures() & GF_AGIMOUSE || true) {
_game.vars[28] = _mouse.x / 2;
_game.vars[29] = _mouse.y;
}
@@ -318,7 +318,7 @@ int AgiEngine::playGame() {
_game.lineUserInput = 22;
// We run AGIMOUSE always as a side effect
- if (getFeatures() & GF_AGIMOUSE || 1)
+ if (getFeatures() & GF_AGIMOUSE || true)
report("Using AGI Mouse 1.0 protocol\n");
if (getFeatures() & GF_AGIPAL)
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index 072ab0114f..90a28b1042 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -1504,7 +1504,7 @@ void AgiEngine::cmd_print_at_v(uint8 *p) {
void AgiEngine::cmd_push_script(uint8 *p) {
// We run AGIMOUSE always as a side effect
- if (getFeatures() & GF_AGIMOUSE || 1) {
+ if (getFeatures() & GF_AGIMOUSE || true) {
_game.vars[27] = _mouse.button;
_game.vars[28] = _mouse.x / 2;
_game.vars[29] = _mouse.y;