aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/op_test.cpp
diff options
context:
space:
mode:
authorjohndoe1232013-04-18 19:08:22 +0200
committerjohndoe1232013-04-18 19:08:22 +0200
commit176a3babc553d1d6eb2a57fddb0a9665fc4aaa71 (patch)
tree239f044793de424c8ca50e739beab44b122609c6 /engines/agi/op_test.cpp
parente935f85366ba1e83fdd1cea3712959edee1f6270 (diff)
parent6c55213cd5a63ff198a25573ad38672e7faa02ce (diff)
downloadscummvm-rg350-176a3babc553d1d6eb2a57fddb0a9665fc4aaa71.tar.gz
scummvm-rg350-176a3babc553d1d6eb2a57fddb0a9665fc4aaa71.tar.bz2
scummvm-rg350-176a3babc553d1d6eb2a57fddb0a9665fc4aaa71.zip
Merge branch 'master' of github.com:scummvm/scummvm into sword25-gfx
Diffstat (limited to 'engines/agi/op_test.cpp')
-rw-r--r--engines/agi/op_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/op_test.cpp b/engines/agi/op_test.cpp
index 4d5e6fffe1..124a1cfcb7 100644
--- a/engines/agi/op_test.cpp
+++ b/engines/agi/op_test.cpp
@@ -82,7 +82,7 @@ void condIsSet(AgiGame *state, uint8 *p) {
}
void condIsSetV(AgiGame *state, uint8 *p) {
- state->testResult = testIsSet(getvar(p[1]));
+ state->testResult = testIsSet(getvar(p[0]));
}
void condIsSetV1(AgiGame *state, uint8 *p) {