From e3d236def0bd8885e40cc68e4f3faa2b2ca1febd Mon Sep 17 00:00:00 2001 From: David Eriksson Date: Sun, 19 Oct 2003 11:51:41 +0000 Subject: Probably play right voice at the right time now. svn-id: r10905 --- queen/talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queen/talk.cpp b/queen/talk.cpp index 47fccc4b38..eab5619a6d 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -630,7 +630,7 @@ void Talk::speakSegment( 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); -- cgit v1.2.3