aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_talk.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-14 15:34:11 -0400
committerPaul Gilbert2015-06-14 15:34:11 -0400
commitbc0a839175899462bc4a79a6e4f3853ac5ee9aaf (patch)
tree57b8db4b61594b011203ca983a43bfa59aa5f1ab /engines/sherlock/tattoo/tattoo_talk.cpp
parentf713094c6427e22c442b9b98be0f79d383d32b23 (diff)
downloadscummvm-rg350-bc0a839175899462bc4a79a6e4f3853ac5ee9aaf.tar.gz
scummvm-rg350-bc0a839175899462bc4a79a6e4f3853ac5ee9aaf.tar.bz2
scummvm-rg350-bc0a839175899462bc4a79a6e4f3853ac5ee9aaf.zip
SHERLOCK: RT: Move more methods from Sprite to TattooPerson
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 9f6d68945f..c64ae2e805 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -518,7 +518,7 @@ OpcodeReturn TattooTalk::cmdSetNPCPosition(const byte *&str) {
int npcNum = *++str - 1;
++str;
TattooPeople &people = *(TattooPeople *)_vm->_people;
- Person &person = people[npcNum];
+ TattooPerson &person = people[npcNum];
int32 posX = (str[0] - 1) * 256 + str[1] - 1;
if (posX > 16384)
posX = -1 * (posX - 16384);