From 21b18178e75512001a4c8a5354455d82696bfba2 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 10 Nov 2002 01:22:39 +0000 Subject: 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 --- scumm/script_v1.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scumm') 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); } } -- cgit v1.2.3