SHERLOCK: Fix cmdWalkToCoords

This commit is contained in:
Paul Gilbert 2015-06-07 20:13:03 -04:00
parent af2a1a3351
commit e336317ea7

View File

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