diff options
author | Travis Howell | 2006-01-15 11:12:57 +0000 |
---|---|---|
committer | Travis Howell | 2006-01-15 11:12:57 +0000 |
commit | fc42c366d3083b19de8fce4c769969532c8e8cc2 (patch) | |
tree | e5ccde853ba26c67cd42a96349d946c881ae11f7 /scumm | |
parent | 64f19557455503d876baa733c073c44866eea1d9 (diff) | |
download | scummvm-rg350-fc42c366d3083b19de8fce4c769969532c8e8cc2.tar.gz scummvm-rg350-fc42c366d3083b19de8fce4c769969532c8e8cc2.tar.bz2 scummvm-rg350-fc42c366d3083b19de8fce4c769969532c8e8cc2.zip |
Add missing check for talk sounds in HE games.
Fixes cut off speech regression in spyfox.
svn-id: r20044
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound_he.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/sound_he.cpp b/scumm/sound_he.cpp index c3e6411ebd..8b0c209640 100644 --- a/scumm/sound_he.cpp +++ b/scumm/sound_he.cpp @@ -420,6 +420,8 @@ void Sound::playHESound(int soundID, int heOffset, int heChannel, int heFlags) { 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; } |