[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.62,1.63
Gregory Montoir
cyx at users.sourceforge.net
Mon Dec 29 08:34:01 CET 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv23524
Modified Files:
talk.cpp
Log Message:
fix for 'Klunk sentence repeated 2 times' bug (noticeable in french talkie version)
Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- talk.cpp 29 Dec 2003 13:18:24 -0000 1.62
+++ talk.cpp 29 Dec 2003 16:33:03 -0000 1.63
@@ -931,8 +931,11 @@
// debug(0, "Sentence segment '%*s' is said by person '%s' and voice file '%s' is played",
// length, segment, person->name, voiceFileName);
- _vm->sound()->playSfx(voiceFileName);
- //debug(0, "Playing voice file '%s'", voiceFileName);
+ // FIXME - it seems the french talkie version has a useless voice file ;
+ // the c30e_102 file is very similar to c30e_101, so there is no need to
+ // play it. This voice was used in room 30 (N8) when talking to Klunk.
+ if (!(_vm->resource()->getLanguage() == FRENCH && !strcmp(voiceFileName, "c30e_102")))
+ _vm->sound()->playSfx(voiceFileName);
int faceDirectionCommand = 0;
More information about the Scummvm-git-logs
mailing list