aboutsummaryrefslogtreecommitdiff
path: root/script_v2.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-05-10 18:47:37 +0000
committerPaweł Kołodziejski2002-05-10 18:47:37 +0000
commit939f9314fa5bd075835590e6dfd647aa88fbde16 (patch)
tree7d1f276752bbc08e51760068c87b0a3489059ca4 /script_v2.cpp
parent36acc99ae1631433f286dde703c89f7fe95679c7 (diff)
downloadscummvm-rg350-939f9314fa5bd075835590e6dfd647aa88fbde16.tar.gz
scummvm-rg350-939f9314fa5bd075835590e6dfd647aa88fbde16.tar.bz2
scummvm-rg350-939f9314fa5bd075835590e6dfd647aa88fbde16.zip
Two fixmes - one for iMUSE bug in Sam and Max, the other for MI1VGA scaling
svn-id: r4270
Diffstat (limited to 'script_v2.cpp')
-rw-r--r--script_v2.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/script_v2.cpp b/script_v2.cpp
index 863aa99320..b48356bf9b 100644
--- a/script_v2.cpp
+++ b/script_v2.cpp
@@ -1651,6 +1651,14 @@ void Scumm::o6_setObjectName()
void Scumm::o6_isSoundRunning()
{
int snd = pop();
+
+ // FIXME: This fixes wak-a-rat until we figure out why
+ // iMUSE fails to locate certain sounds.
+ if (_gameId == GID_SAMNMAX && _currentRoom == 18 && snd == 23) {
+ push(0);
+ return;
+ }
+
if (snd)
snd = isSoundRunning(snd);