aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_talk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_talk.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_talk.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp
index ab73b404da..54d327e92a 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -267,15 +267,13 @@ OpcodeReturn TattooTalk::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;
if (posX > 16384)
posX = -1 * (posX - 16384);
int32 posY = (str[5] - 1) * 256 + str[6] - 1;
- people._hSavedPos = Point32(posX, posY);
+ people._savedPos = PositionFacing(posX, posY, str[2] - 1);
}
_scriptMoreFlag = 1;