[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.17,1.18

David Eriksson twogood at users.sourceforge.net
Sun Oct 19 05:32:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv30574/queen

Modified Files:
	talk.cpp 
Log Message:
Probably play right voice at the right time now.


Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- talk.cpp	18 Oct 2003 16:19:36 -0000	1.17
+++ talk.cpp	19 Oct 2003 11:51:41 -0000	1.18
@@ -630,7 +630,7 @@
 	segment[length] = '\0';
 	
 	char voiceFileName[MAX_STRING_SIZE];
-	snprintf(voiceFileName, sizeof(voiceFileName), "%s%1x", voiceFilePrefix, index);
+	snprintf(voiceFileName, sizeof(voiceFileName), "%s%1x", voiceFilePrefix + 1, index);
 
 	//debug(0, "Sentence segment '%*s' is said by person '%s' and voice file '%s' is played",
 	//		length, segment, person, voiceFileName);





More information about the Scummvm-git-logs mailing list