[Scummvm-cvs-logs] CVS: scummvm/scumm sound_he.cpp,2.13,2.14
kirben
kirben at users.sourceforge.net
Sun Jan 15 03:14:01 CET 2006
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15354/scumm
Modified Files:
sound_he.cpp
Log Message:
Add missing check for talk sounds in HE games.
Fixes cut off speech regression in spyfox.
Index: sound_he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound_he.cpp,v
retrieving revision 2.13
retrieving revision 2.14
diff -u -d -r2.13 -r2.14
--- sound_he.cpp 15 Jan 2006 09:38:15 -0000 2.13
+++ sound_he.cpp 15 Jan 2006 11:12:57 -0000 2.14
@@ -420,6 +420,8 @@
if (_vm->_mixer->isSoundHandleActive(_heSoundChannels[heChannel])) {
int curSnd = _heChannel[heChannel].sound;
+ if (curSnd == 1 && soundID != 1)
+ return;
if (curSnd != 0 && curSnd != 1 && soundID != 1 && _heChannel[heChannel].priority > priority)
return;
}
More information about the Scummvm-git-logs
mailing list