aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-04 19:55:32 -0400
committerPaul Gilbert2015-06-04 19:55:32 -0400
commit26bbfec72959c92e879e601499ab34d8dc1d1602 (patch)
tree05fd364a0ceb5a3feed3399082a632c65ea6b16a /engines/sherlock/scene.cpp
parent2f707bf20723a72e769c872f433fbcb67f0dccdf (diff)
downloadscummvm-rg350-26bbfec72959c92e879e601499ab34d8dc1d1602.tar.gz
scummvm-rg350-26bbfec72959c92e879e601499ab34d8dc1d1602.tar.bz2
scummvm-rg350-26bbfec72959c92e879e601499ab34d8dc1d1602.zip
SHERLOCK: Fix setting up default RT player position
Diffstat (limited to 'engines/sherlock/scene.cpp')
-rw-r--r--engines/sherlock/scene.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp
index 9b953ffcfd..064ac8d67e 100644
--- a/engines/sherlock/scene.cpp
+++ b/engines/sherlock/scene.cpp
@@ -757,8 +757,13 @@ void Scene::transitionToScene() {
// No exit information from last scene-check entrance info
if (_entrance._startPosition.x < 1) {
// No entrance info either, so use defaults
- hSavedPos = Common::Point(16000, 10000);
- hSavedFacing = 4;
+ if (IS_SERRATED_SCALPEL) {
+ hSavedPos = Common::Point(16000, 10000);
+ hSavedFacing = 4;
+ } else {
+ hSavedPos = people[PLAYER]._position;
+ hSavedFacing = people[PLAYER]._sequenceNumber;
+ }
} else {
// setup entrance info
hSavedPos = _entrance._startPosition;