aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2010-01-19 00:56:52 +0000
committerMax Horn2010-01-19 00:56:52 +0000
commit9baa2acdca4a3d9440e836d917f14b5e1cdb6178 (patch)
treee0a1e8cf744ec3d5a9763fec40340aae7c3f3085 /engines/sword1
parent557bb394de6619dd1f360b72333fd2ec7b3defab (diff)
downloadscummvm-rg350-9baa2acdca4a3d9440e836d917f14b5e1cdb6178.tar.gz
scummvm-rg350-9baa2acdca4a3d9440e836d917f14b5e1cdb6178.tar.bz2
scummvm-rg350-9baa2acdca4a3d9440e836d917f14b5e1cdb6178.zip
SWORD1: Fix (?) sfx looping
svn-id: r47370
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/sound.cpp2
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