From e4a9717434190fdd43f60da0267b19d4e6ad05db Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 18 Apr 2013 14:50:53 +0200 Subject: AGI: Fix typo in issetv opcode This fixes bug #3611262 --- engines/agi/op_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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) { -- cgit v1.2.3