PETKA: fix WalkTo opcode

This commit is contained in:
Andrei Prykhodko 2020-10-02 23:50:13 +03:00
parent 8e7425e16d
commit 815a0324d7

View File

@ -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;
}
}