aboutsummaryrefslogtreecommitdiff
path: root/sky/intro.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2003-07-04 20:14:11 +0000
committerRobert Göffringmann2003-07-04 20:14:11 +0000
commit484d0a84c56652d0dba314b0583c9b2fc74cb872 (patch)
treeebb476ad75086a2e32fc1e08ce4798fbc3edd8c9 /sky/intro.cpp
parent3aa048d710dce762c3f79167b04a48cc450056f9 (diff)
downloadscummvm-rg350-484d0a84c56652d0dba314b0583c9b2fc74cb872.tar.gz
scummvm-rg350-484d0a84c56652d0dba314b0583c9b2fc74cb872.tar.bz2
scummvm-rg350-484d0a84c56652d0dba314b0583c9b2fc74cb872.zip
SFX is working correctly now. also implemented queued fx and fx saving.
The bass version is now included in the savegames, too. svn-id: r8747
Diffstat (limited to 'sky/intro.cpp')
-rw-r--r--sky/intro.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp
index d4fb32ebcc..44105fcfea 100644
--- a/sky/intro.cpp
+++ b/sky/intro.cpp
@@ -492,7 +492,7 @@ void SkyState::removeText(uint32 *&cmdPtr) {
void SkyState::introFx(uint32 *&cmdPtr) {
_mixer->stopAll();
- _skySound->playSound((uint16)cmdPtr[2], (uint16)cmdPtr[3]);
+ _skySound->playSound((uint16)cmdPtr[2], (uint16)cmdPtr[3], 0);
cmdPtr += 4;
}
@@ -501,6 +501,6 @@ 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));
+ _skySound->playSound(1, (uint16)(cmdPtr[2] & 0x7F), 0);
cmdPtr += 3;
}