aboutsummaryrefslogtreecommitdiff
path: root/script_v2.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-05-25 19:40:42 +0000
committerVincent Hamm2002-05-25 19:40:42 +0000
commit073d8db474bd7bf74202712064a1a682ca4191eb (patch)
treeab69434fea938cc8cabbd6c171d46b63946226f7 /script_v2.cpp
parent657a92e96450fe4ab2ab5d7b92386910069cea91 (diff)
downloadscummvm-rg350-073d8db474bd7bf74202712064a1a682ca4191eb.tar.gz
scummvm-rg350-073d8db474bd7bf74202712064a1a682ca4191eb.tar.bz2
scummvm-rg350-073d8db474bd7bf74202712064a1a682ca4191eb.zip
Fixme for the dig looping sound bug...
svn-id: r4385
Diffstat (limited to 'script_v2.cpp')
-rw-r--r--script_v2.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/script_v2.cpp b/script_v2.cpp
index 86c85b55db..ccad06cb1b 100644
--- a/script_v2.cpp
+++ b/script_v2.cpp
@@ -2412,6 +2412,13 @@ void Scumm::o6_soundKludge()
{
int16 list[16];
getStackList(list, sizeof(list) / sizeof(list[0]));
+
+ /* (yazoo): I don't know enought about the sound code to
+ * fix the looping sound bug. FIXME !*/
+
+ if(list[1] == 163 && _gameId == GID_DIG)
+ return;
+
soundKludge(list);
}