From e336317ea718bd311ab6aa53bf018fde0bc01671 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 7 Jun 2015 20:13:03 -0400 Subject: SHERLOCK: Fix cmdWalkToCoords --- engines/sherlock/talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index dff1250475..db4bcd8d2e 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -1459,7 +1459,7 @@ OpcodeReturn Talk::cmdWalkToCoords(const byte *&str) { People &people = *_vm->_people; ++str; - people.walkToCoords(Common::Point(((str[0] - 1) * 256 + str[1] - 1) * FIXED_INT_MULTIPLIER, + people.walkToCoords(Point32(((str[0] - 1) * 256 + str[1] - 1) * FIXED_INT_MULTIPLIER, str[2] * FIXED_INT_MULTIPLIER), str[3] - 1); if (_talkToAbort) return RET_EXIT; -- cgit v1.2.3