diff options
author | Paul Gilbert | 2015-06-05 21:13:48 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-05 21:13:48 -0400 |
commit | 9ada143d1450fcc61c6e3fbd505e1b04fe45140d (patch) | |
tree | 6fbc4cb399455ca05fb06736693ef895dbdbde04 /engines/sherlock/talk.cpp | |
parent | cf76576035e37d2d55524ca3a7ade3af9804c85d (diff) | |
download | scummvm-rg350-9ada143d1450fcc61c6e3fbd505e1b04fe45140d.tar.gz scummvm-rg350-9ada143d1450fcc61c6e3fbd505e1b04fe45140d.tar.bz2 scummvm-rg350-9ada143d1450fcc61c6e3fbd505e1b04fe45140d.zip |
SHERLOCK: Further FIXED_INT_MULTIPLIER refactoring
Also converted multiplier factor from 100 to 1000, which will be
needed for Rose Tattoo
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index d48b66cf8b..dd00d47fb2 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -636,8 +636,7 @@ void Talk::talk(int objNum) { events.setCursor(WAIT); if (obj._lookPosition.y != 0) // Need to walk to character first - people.walkToCoords(Common::Point(obj._lookPosition.x, obj._lookPosition.y * 100), - obj._lookFacing); + people.walkToCoords(obj._lookPosition, obj._lookFacing); events.setCursor(ARROW); if (!_talkToAbort) @@ -652,8 +651,7 @@ void Talk::talk(int objNum) { events.setCursor(WAIT); if (obj._lookPosition.y != 0) // Walk over to person to talk to - people.walkToCoords(Common::Point(obj._lookPosition.x, obj._lookPosition.y * 100), - obj._lookFacing); + people.walkToCoords(obj._lookPosition, obj._lookFacing); events.setCursor(ARROW); if (!_talkToAbort) { |