From 815a0324d7533abe19ad70ab3cae040f7214431e Mon Sep 17 00:00:00 2001 From: Andrei Prykhodko Date: Fri, 2 Oct 2020 23:50:13 +0300 Subject: [PATCH] PETKA: fix WalkTo opcode --- engines/petka/objects/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/petka/objects/object.cpp b/engines/petka/objects/object.cpp index 9a5cfa34cd4..c5ad9fce878 100644 --- a/engines/petka/objects/object.cpp +++ b/engines/petka/objects/object.cpp @@ -215,7 +215,7 @@ void QMessageObject::processMessage(const QMessage &msg) { if (r) { for (uint i = 0; i < r->messages.size(); ++i) { if (r->messages[i].opcode == kGoTo) { - g_vm->getQSystem()->getChapay()->walk(_walkX, _walkY); + g_vm->getQSystem()->getChapay()->walk(destX, destY); break; } }