[Scummvm-cvs-logs] SF.net SVN: scummvm:[45494] scummvm/trunk/engines/sci/engine/kgraphics.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Oct 29 00:32:28 CET 2009
Revision: 45494
http://scummvm.svn.sourceforge.net/scummvm/?rev=45494&view=rev
Author: thebluegr
Date: 2009-10-28 23:32:28 +0000 (Wed, 28 Oct 2009)
Log Message:
-----------
Added a workaround for the casino door in LSL1
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-10-28 23:04:56 UTC (rev 45493)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-10-28 23:32:28 UTC (rev 45494)
@@ -484,6 +484,13 @@
s->_gui->baseSetter(object);
+ // WORKAROUND for a problem in LSL1VGA. This allows the casino door to be opened,
+ // till the actual problem is found
+ if (s->_gameName == "lsl1sci" && s->currentRoomNumber() == 300) {
+ int top = GET_SEL32V(s->_segMan, object, brTop);
+ PUT_SEL32V(s->_segMan, object, brTop, top + 2);
+ }
+
return s->r_acc;
}
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