aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-29 16:06:55 -0400
committerPaul Gilbert2015-08-29 16:06:55 -0400
commita6605c3cbbc5ac4cc823778ae1749624542ca48c (patch)
tree677ea89d945a548b3906918ae0f7bf4be4d0d567 /engines/sherlock/tattoo
parent303bbe75d58b74dac6ef38c7bebf59f72fca42b1 (diff)
downloadscummvm-rg350-a6605c3cbbc5ac4cc823778ae1749624542ca48c.tar.gz
scummvm-rg350-a6605c3cbbc5ac4cc823778ae1749624542ca48c.tar.bz2
scummvm-rg350-a6605c3cbbc5ac4cc823778ae1749624542ca48c.zip
SHERLOCK: RT: Replace constant with it's proper enum value
Diffstat (limited to 'engines/sherlock/tattoo')
-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 98bf452c3c..a4ceca042b 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -640,7 +640,7 @@ OpcodeReturn TattooTalk::cmdSetNPCTalkFile(const byte *&str) {
memset(person._npcPath, 0, 100);
}
- person._npcPath[person._npcIndex] = 3;
+ person._npcPath[person._npcIndex] = NPCPATH_SET_TALK_FILE;
for (int i = 1; i <= 8; i++)
person._npcPath[person._npcIndex + i] = str[i];