aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_user_interface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-05 21:13:48 -0400
committerPaul Gilbert2015-06-05 21:13:48 -0400
commit9ada143d1450fcc61c6e3fbd505e1b04fe45140d (patch)
tree6fbc4cb399455ca05fb06736693ef895dbdbde04 /engines/sherlock/scalpel/scalpel_user_interface.cpp
parentcf76576035e37d2d55524ca3a7ade3af9804c85d (diff)
downloadscummvm-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/scalpel/scalpel_user_interface.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel_user_interface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp
index 16f16594f1..e2c66789ad 100644
--- a/engines/sherlock/scalpel/scalpel_user_interface.cpp
+++ b/engines/sherlock/scalpel/scalpel_user_interface.cpp
@@ -500,7 +500,7 @@ void ScalpelUserInterface::examine() {
scene.startCAnim(_cNum, canimSpeed);
} else if (obj._lookPosition.y != 0) {
// Need to walk to the object to be examined
- people.walkToCoords(Common::Point(obj._lookPosition.x, obj._lookPosition.y * 100), obj._lookFacing);
+ people.walkToCoords(obj._lookPosition, obj._lookFacing);
}
if (!talk._talkToAbort) {
@@ -2158,7 +2158,7 @@ void ScalpelUserInterface::checkAction(ActionType &action, const char *const mes
Scene &scene = *_vm->_scene;
Screen &screen = *_vm->_screen;
Talk &talk = *_vm->_talk;
- Common::Point pt(-1, -1);
+ Point32 pt(-1, -1);
if (objNum >= 1000)
// Ignore actions done on characters
@@ -2197,7 +2197,7 @@ void ScalpelUserInterface::checkAction(ActionType &action, const char *const mes
}
}
} else {
- pt = Common::Point(-1, -1);
+ pt = Point32(-1, -1);
dir = -1;
}