aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorFilippos Karapetis2011-11-03 22:55:22 +0200
committerFilippos Karapetis2011-11-03 22:55:22 +0200
commitd3858c359fde79e443d6e61579b400a36dff13e3 (patch)
tree07d28f87a47c36be0761894ff2f4ff964ff5b561 /engines/agi
parent86387f1d70038be89d9e7f7870fbf3862dfed7ab (diff)
downloadscummvm-rg350-d3858c359fde79e443d6e61579b400a36dff13e3.tar.gz
scummvm-rg350-d3858c359fde79e443d6e61579b400a36dff13e3.tar.bz2
scummvm-rg350-d3858c359fde79e443d6e61579b400a36dff13e3.zip
AGI: Commented out if statements that always evaluate to true
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/op_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index 72f60e2516..41d9cc3ac9 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -1622,15 +1622,15 @@ void cmdPrintAtV(AgiGame *state, uint8 *p) {
void cmdPushScript(AgiGame *state, uint8 *p) {
// We run AGIMOUSE always as a side effect
- if (getFeatures() & GF_AGIMOUSE || true) {
+ //if (getFeatures() & GF_AGIMOUSE || true) {
state->vars[27] = state->_vm->_mouse.button;
state->vars[28] = state->_vm->_mouse.x / 2;
state->vars[29] = state->_vm->_mouse.y;
- } else {
+ /*} else {
if (getVersion() >= 0x2915) {
debug(0, "push.script");
}
- }
+ }*/
}
void cmdSetPriBase(AgiGame *state, uint8 *p) {