aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2002-11-10 01:22:39 +0000
committerJonathan Gray2002-11-10 01:22:39 +0000
commit21b18178e75512001a4c8a5354455d82696bfba2 (patch)
treebbc2f7d95b7d88503708a8c7d22787e6a60fc54e /scumm
parent9659006f848aae109e067b5da0222c105b9d229c (diff)
downloadscummvm-rg350-21b18178e75512001a4c8a5354455d82696bfba2.tar.gz
scummvm-rg350-21b18178e75512001a4c8a5354455d82696bfba2.tar.bz2
scummvm-rg350-21b18178e75512001a4c8a5354455d82696bfba2.zip
add back code that was removed in rev 1.16 with a room specific check, so trains in the lucasfilm games logo in indy3 work the way they should. Maybe a look at the dissasembly of setClass for indy3 is in order...
svn-id: r5478
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v1.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp
index 4058958725..66c03fc865 100644
--- a/scumm/script_v1.cpp
+++ b/scumm/script_v1.cpp
@@ -525,6 +525,11 @@ void Scumm::o5_setClass()
continue;
}
+ // FIXME hack to make trains in lucasfilm games logo work
+ // the way they should
+ if ((_gameId == GID_INDY3_256) && (_currentRoom == 76))
+ newClass--;
+
putClass(obj, newClass, (newClass & 0x80) ? true : false);
}
}