aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_talk.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-07 23:10:16 -0400
committerPaul Gilbert2015-08-07 23:10:16 -0400
commit87956d6a10369be3c30898fa647ed688684175f7 (patch)
tree3b9eac51c25b92594d4b4e8830793f945f806078 /engines/sherlock/tattoo/tattoo_talk.cpp
parent62406c81b700bdf15451bc863be5fbf6e4cbd841 (diff)
downloadscummvm-rg350-87956d6a10369be3c30898fa647ed688684175f7.tar.gz
scummvm-rg350-87956d6a10369be3c30898fa647ed688684175f7.tar.bz2
scummvm-rg350-87956d6a10369be3c30898fa647ed688684175f7.zip
SHERLOCK: RT: Fix initialization of NPC descriptions
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_talk.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_talk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp
index ee6856c6d4..24b46bfddd 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -426,6 +426,7 @@ OpcodeReturn TattooTalk::cmdSetNPCDescOnOff(const byte *&str) {
// Copy over the NPC examine text until we reach a stop marker, which is
// the same as a start marker, or we reach the end of the file
+ person._examine = "";
while (*str && *str != _opcodes[OP_NPC_DESC_ON_OFF])
person._examine += *str++;