mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
SHERLOCK: Fix cmdWalkToCoords
This commit is contained in:
parent
af2a1a3351
commit
e336317ea7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user