[Scummvm-cvs-logs] scummvm master -> 87956d6a10369be3c30898fa647ed688684175f7

dreammaster dreammaster at scummvm.org
Sat Aug 8 05:11:12 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:
87956d6a10 SHERLOCK: RT: Fix initialization of NPC descriptions


Commit: 87956d6a10369be3c30898fa647ed688684175f7
    https://github.com/scummvm/scummvm/commit/87956d6a10369be3c30898fa647ed688684175f7
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-07T23:10:16-04:00

Commit Message:
SHERLOCK: RT: Fix initialization of NPC descriptions

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 ee6856c..24b46bf 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++;
 






More information about the Scummvm-git-logs mailing list