aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--actor.cpp4
-rw-r--r--script_v2.cpp8
2 files changed, 12 insertions, 0 deletions
diff --git a/actor.cpp b/actor.cpp
index 2ee25a12c5..092a6cbf8a 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -322,6 +322,10 @@ void Scumm::setupActorScale(Actor * a)
byte *resptr;
int y;
+ // FIXME: Special 'no scaling' class for MI1 VGA Floppy
+ // Not totally sure if this is correct.
+ if(_gameId == GID_MONKEY_VGA && getClass(a->number, 0x96))
+ return;
if (_features & GF_NO_SCALLING) {
a->scalex = 0xFF;
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);