diff options
author | Max Horn | 2010-01-19 00:56:52 +0000 |
---|---|---|
committer | Max Horn | 2010-01-19 00:56:52 +0000 |
commit | 9baa2acdca4a3d9440e836d917f14b5e1cdb6178 (patch) | |
tree | e0a1e8cf744ec3d5a9763fec40340aae7c3f3085 | |
parent | 557bb394de6619dd1f360b72333fd2ec7b3defab (diff) | |
download | scummvm-rg350-9baa2acdca4a3d9440e836d917f14b5e1cdb6178.tar.gz scummvm-rg350-9baa2acdca4a3d9440e836d917f14b5e1cdb6178.tar.bz2 scummvm-rg350-9baa2acdca4a3d9440e836d917f14b5e1cdb6178.zip |
SWORD1: Fix (?) sfx looping
svn-id: r47370
-rw-r--r-- | engines/sword1/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/sound.cpp b/engines/sword1/sound.cpp index d3eaad7c5c..e253483429 100644 --- a/engines/sword1/sound.cpp +++ b/engines/sword1/sound.cpp @@ -271,7 +271,7 @@ void Sound::playSample(QueueElement *elem) { flags |= Audio::Mixer::FLAG_STEREO; if (_fxList[elem->id].type == FX_LOOP) flags |= Audio::Mixer::FLAG_LOOP; - _mixer->playRaw(Audio::Mixer::kSFXSoundType, &elem->handle, sampleData + 0x2C, size, DisposeAfterUse::NO, 11025, flags, elem->id, volume, pan); + _mixer->playRaw(Audio::Mixer::kSFXSoundType, &elem->handle, sampleData + 0x2C, size, DisposeAfterUse::NO, 11025, flags, elem->id, volume, pan, 0, 0); } } } else |