From 9baa2acdca4a3d9440e836d917f14b5e1cdb6178 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 19 Jan 2010 00:56:52 +0000 Subject: SWORD1: Fix (?) sfx looping svn-id: r47370 --- engines/sword1/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword1') 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 -- cgit v1.2.3