diff options
author | Robert Göffringmann | 2003-06-01 03:44:07 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-06-01 03:44:07 +0000 |
commit | d67c53d756a1706a9796acf258ab2d29ddf54939 (patch) | |
tree | 0b17cba30a0f9ab5e0bce473044b56b85ae77fc2 /sky/intro.cpp | |
parent | 738497ef1413e8148d445389ab65144997652934 (diff) | |
download | scummvm-rg350-d67c53d756a1706a9796acf258ab2d29ddf54939.tar.gz scummvm-rg350-d67c53d756a1706a9796acf258ab2d29ddf54939.tar.bz2 scummvm-rg350-d67c53d756a1706a9796acf258ab2d29ddf54939.zip |
basic ingame speech support
svn-id: r8220
Diffstat (limited to 'sky/intro.cpp')
-rw-r--r-- | sky/intro.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp index d136ddf299..344ca58ee1 100644 --- a/sky/intro.cpp +++ b/sky/intro.cpp @@ -477,12 +477,16 @@ void SkyState::removeText(uint32 *&cmdPtr) { void SkyState::introFx(uint32 *&cmdPtr) { + _mixer->stopAll(); _skySound->playSound((uint16)cmdPtr[2], (uint16)cmdPtr[3]); cmdPtr += 4; } void SkyState::introVol(uint32 *&cmdPtr) { + // HACK: for some reason, the mixer will only stop playing + // looping sounds if you do it using SoundMixer::stopAll(); + _mixer->stopAll(); _skySound->playSound(1, (uint16)(cmdPtr[2] & 0x7F)); cmdPtr += 3; } |