From 892ca3a9c57a948254a2779821a24576f82a77d6 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Mon, 18 Jun 2012 17:04:46 +0200 Subject: GOB: Don't loop /all/ sounds in Little Red Just the title music... *cough* --- engines/gob/sound/soundblaster.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/gob/sound') diff --git a/engines/gob/sound/soundblaster.cpp b/engines/gob/sound/soundblaster.cpp index 915d744494..19c2346448 100644 --- a/engines/gob/sound/soundblaster.cpp +++ b/engines/gob/sound/soundblaster.cpp @@ -49,6 +49,8 @@ void SoundBlaster::stopSound(int16 fadeLength, SoundDesc *sndDesc) { if (sndDesc && (sndDesc != _curSoundDesc)) return; + _compositionRepCount = 0; + if (fadeLength <= 0) _curSoundDesc = 0; @@ -64,6 +66,7 @@ void SoundBlaster::stopComposition() { void SoundBlaster::endComposition() { _compositionPos = -1; + _compositionRepCount = 0; } void SoundBlaster::nextCompositionPos() { -- cgit v1.2.3