aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_talk.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-15 10:43:40 -0400
committerPaul Gilbert2015-08-15 10:43:40 -0400
commitdf80a92e0abb7ec1fc4d6fd8b304ea2ae65f3aea (patch)
treeade4b2c3e9e991997dbd2157d46f588defa7339e /engines/sherlock/tattoo/tattoo_talk.cpp
parent68499c79c4831d6f4f3f61a9bf117a891a50cd4f (diff)
downloadscummvm-rg350-df80a92e0abb7ec1fc4d6fd8b304ea2ae65f3aea.tar.gz
scummvm-rg350-df80a92e0abb7ec1fc4d6fd8b304ea2ae65f3aea.tar.bz2
scummvm-rg350-df80a92e0abb7ec1fc4d6fd8b304ea2ae65f3aea.zip
SHERLOCK: RT: Fix freeing character _altImages when done with
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_talk.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp
index 731e3a0e56..9d5a3dbc93 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -579,7 +579,7 @@ OpcodeReturn TattooTalk::cmdSetNPCPosition(const byte *&str) {
posX = -1 * (posX - 16384);
int posY = (str[2] - 1) * 256 + str[3] - 1;
- people[npcNum]._position = Point32(posX * FIXED_INT_MULTIPLIER, posY * FIXED_INT_MULTIPLIER);
+ person._position = Point32(posX * FIXED_INT_MULTIPLIER, posY * FIXED_INT_MULTIPLIER);
if (person._seqTo && person._walkLoaded) {
person._walkSequences[person._sequenceNumber]._sequences[person._frameNumber] = person._seqTo;
person._seqTo = 0;