mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
Do it right this time.
svn-id: r10906
This commit is contained in:
parent
e3d236def0
commit
7897eeac10
@ -630,7 +630,7 @@ void Talk::speakSegment(
|
||||
segment[length] = '\0';
|
||||
|
||||
char voiceFileName[MAX_STRING_SIZE];
|
||||
snprintf(voiceFileName, sizeof(voiceFileName), "%s%1x", voiceFilePrefix + 1, index);
|
||||
snprintf(voiceFileName, sizeof(voiceFileName), "%s%1x", voiceFilePrefix, index + 1);
|
||||
|
||||
//debug(0, "Sentence segment '%*s' is said by person '%s' and voice file '%s' is played",
|
||||
// length, segment, person, voiceFileName);
|
||||
|
Loading…
Reference in New Issue
Block a user