aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_talk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_talk.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel_talk.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp
index ed529df17c..a6bb6b6fcd 100644
--- a/engines/sherlock/scalpel/scalpel_talk.cpp
+++ b/engines/sherlock/scalpel/scalpel_talk.cpp
@@ -320,15 +320,13 @@ OpcodeReturn ScalpelTalk::cmdGotoScene(const byte *&str) {
// Run a canimation?
if (str[2] > 100) {
- people._hSavedFacing = str[2];
- people._hSavedPos = Point32(160, 100);
+ people._savedPos = PositionFacing(160, 100, str[2]);
} else {
- people._hSavedFacing = str[2] - 1;
int32 posX = (str[3] - 1) * 256 + str[4] - 1;
int32 posY = str[5] - 1;
- people._hSavedPos = Point32(posX, posY);
+ people._savedPos = PositionFacing(posX, posY, str[2] - 1);
}
- } // if (scene._goToScene != 100)
+ }
str += 6;