aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-01-23 06:54:35 +0000
committerMatthew Hoops2011-01-23 06:54:35 +0000
commit27d9ee3de1b175f68384d4bae74d2edc0614ebcc (patch)
tree56753281142a2d28b211a61f53e4e21b5d6ee914
parent52c0d678ce1f20b602dabf16144f244fd13688c1 (diff)
downloadscummvm-rg350-27d9ee3de1b175f68384d4bae74d2edc0614ebcc.tar.gz
scummvm-rg350-27d9ee3de1b175f68384d4bae74d2edc0614ebcc.tar.bz2
scummvm-rg350-27d9ee3de1b175f68384d4bae74d2edc0614ebcc.zip
MOHAWK: Do not stop ambient sounds when finding no matching Riven SLST index
This fixes the ambient sounds in the Rebel Tunnel puzzle and Temple Island maglev among other places. svn-id: r55459
-rw-r--r--engines/mohawk/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/sound.cpp b/engines/mohawk/sound.cpp
index 9781258e87..a8d185602d 100644
--- a/engines/mohawk/sound.cpp
+++ b/engines/mohawk/sound.cpp
@@ -259,8 +259,8 @@ void Sound::playSLST(uint16 index, uint16 card) {
delete slstStream;
- // No matching records, assume we need to stop all SLST's
- stopAllSLST();
+ // If we have no matching entries, we do nothing and just let
+ // the previous ambient sounds continue.
}
void Sound::playSLST(SLSTRecord slstRecord) {