diff options
author | Paul Gilbert | 2015-06-13 10:13:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-13 10:13:53 -0400 |
commit | d9ccf57dd019d4694efa4375b284a9a438a37908 (patch) | |
tree | aefa1299ca23083c1d588c0dd2e7dce207076f72 /engines | |
parent | cfb089115362e23e46adcaef8cdedc3570129132 (diff) | |
download | scummvm-rg350-d9ccf57dd019d4694efa4375b284a9a438a37908.tar.gz scummvm-rg350-d9ccf57dd019d4694efa4375b284a9a438a37908.tar.bz2 scummvm-rg350-d9ccf57dd019d4694efa4375b284a9a438a37908.zip |
SHERLOCK: RT: Fix getting default scene player position
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/scene.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp index 78c7acbd55..22a0e3620e 100644 --- a/engines/sherlock/scene.cpp +++ b/engines/sherlock/scene.cpp @@ -1031,8 +1031,13 @@ void Scene::transitionToScene() { } } else { // setup entrance info - hSavedPos.x = _entrance._startPosition.x * FIXED_INT_MULTIPLIER / 100; - hSavedPos.y = _entrance._startPosition.y * FIXED_INT_MULTIPLIER / 100; + hSavedPos.x = _entrance._startPosition.x * FIXED_INT_MULTIPLIER; + hSavedPos.y = _entrance._startPosition.y * FIXED_INT_MULTIPLIER; + if (IS_SERRATED_SCALPEL) { + hSavedPos.x /= 100; + hSavedPos.y /= 100; + } + hSavedFacing = _entrance._startDir; } } else { |