diff options
author | Paul Gilbert | 2015-06-07 20:13:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-07 20:13:03 -0400 |
commit | e336317ea718bd311ab6aa53bf018fde0bc01671 (patch) | |
tree | 26df651b0c58b39ae12448eb437dba6b883fd664 /engines/sherlock/talk.cpp | |
parent | af2a1a33514ae101d1df52e6a978296ed0bef68b (diff) | |
download | scummvm-rg350-e336317ea718bd311ab6aa53bf018fde0bc01671.tar.gz scummvm-rg350-e336317ea718bd311ab6aa53bf018fde0bc01671.tar.bz2 scummvm-rg350-e336317ea718bd311ab6aa53bf018fde0bc01671.zip |
SHERLOCK: Fix cmdWalkToCoords
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |