diff options
author | Willem Jan Palenstijn | 2013-04-18 14:50:53 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-18 14:53:34 +0200 |
commit | e4a9717434190fdd43f60da0267b19d4e6ad05db (patch) | |
tree | 8bfd4b9e8999980d451c2bd26f12f0aa0073e020 | |
parent | a00c372f9eff8da8820cb06ed784fefb5cac247f (diff) | |
download | scummvm-rg350-e4a9717434190fdd43f60da0267b19d4e6ad05db.tar.gz scummvm-rg350-e4a9717434190fdd43f60da0267b19d4e6ad05db.tar.bz2 scummvm-rg350-e4a9717434190fdd43f60da0267b19d4e6ad05db.zip |
AGI: Fix typo in issetv opcode
This fixes bug #3611262
-rw-r--r-- | engines/agi/op_test.cpp | 2 |
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) { |