[Scummvm-cvs-logs] scummvm master -> a6605c3cbbc5ac4cc823778ae1749624542ca48c

dreammaster dreammaster at scummvm.org
Sat Aug 29 22:07:32 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a6605c3cbb SHERLOCK: RT: Replace constant with it's proper enum value


Commit: a6605c3cbbc5ac4cc823778ae1749624542ca48c
    https://github.com/scummvm/scummvm/commit/a6605c3cbbc5ac4cc823778ae1749624542ca48c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-29T16:06:55-04:00

Commit Message:
SHERLOCK: RT: Replace constant with it's proper enum value

Changed paths:
    engines/sherlock/tattoo/tattoo_talk.cpp



diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp
index 98bf452..a4ceca0 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];
 






More information about the Scummvm-git-logs mailing list