[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.193,1.193.2.1
Travis Howell
kirben at users.sourceforge.net
Sun Feb 22 00:18:01 CET 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24968/scumm
Modified Files:
Tag: branch-0-6-0
string.cpp
Log Message:
Restrict hack to COMI
Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.193
retrieving revision 1.193.2.1
diff -u -d -r1.193 -r1.193.2.1
--- string.cpp 13 Feb 2004 11:11:16 -0000 1.193
+++ string.cpp 22 Feb 2004 08:04:33 -0000 1.193.2.1
@@ -888,7 +888,7 @@
// FIXME: This is a hack to distinguish between 'real' actor speech and
// some odd (?) other strings... there is probably a better way to do this.
// I just don't know which (yet).
- if (ptr[i+1] != 0 && ptr[i+1] != 255) {
+ if ((_gameId == GID_DIG) || (_gameId == GID_CMI && ptr[i+1] != 0 && ptr[i+1] != 255)) {
_sound->stopTalkSound();
_imuseDigital->startVoice(kTalkSoundID, pointer);
_sound->talkSound(0, 0, 2, -1);
More information about the Scummvm-git-logs
mailing list