[Scummvm-cvs-logs] SF.net SVN: scummvm:[52378] scummvm/trunk/engines/lure/scripts.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Wed Aug 25 11:28:30 CEST 2010
Revision: 52378
http://scummvm.svn.sourceforge.net/scummvm/?rev=52378&view=rev
Author: dreammaster
Date: 2010-08-25 09:28:29 +0000 (Wed, 25 Aug 2010)
Log Message:
-----------
LURE: Workaround for bug #3047234 in English EGA version
Modified Paths:
--------------
scummvm/trunk/engines/lure/scripts.cpp
Modified: scummvm/trunk/engines/lure/scripts.cpp
===================================================================
--- scummvm/trunk/engines/lure/scripts.cpp 2010-08-25 09:14:41 UTC (rev 52377)
+++ scummvm/trunk/engines/lure/scripts.cpp 2010-08-25 09:28:29 UTC (rev 52378)
@@ -1297,6 +1297,11 @@
default:
// Set the animation frame number
+
+ // WORKAROUND: In Lure English EGA, the apparatus in room #30 can be set with an invalid frame number
+ if ((h->hotspotId() == 1059) && (opcode >= h->numFrames()))
+ opcode = h->numFrames() - 1;
+
debugC(ERROR_DETAILED, kLureDebugScripts, "SET FRAME NUMBER = %d", opcode);
h->setFrameNumber(opcode);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list