[Scummvm-cvs-logs] SF.net SVN: scummvm:[51343] scummvm/trunk/engines/sci/engine/ static_selectors.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Tue Jul 27 04:46:06 CEST 2010
Revision: 51343
http://scummvm.svn.sourceforge.net/scummvm/?rev=51343&view=rev
Author: mthreepwood
Date: 2010-07-27 02:46:06 +0000 (Tue, 27 Jul 2010)
Log Message:
-----------
SCI: Fix bug #3035033 - ISLANDBRAIN demo: Crash
The demo needs the "init" selector so that the workaround for the full game will also work in the demo.
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/static_selectors.cpp
Modified: scummvm/trunk/engines/sci/engine/static_selectors.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/static_selectors.cpp 2010-07-27 01:52:52 UTC (rev 51342)
+++ scummvm/trunk/engines/sci/engine/static_selectors.cpp 2010-07-27 02:46:06 UTC (rev 51343)
@@ -168,6 +168,13 @@
names[274] = "syncTime";
names[275] = "syncCue";
+ } else if (g_sci->getGameId() == GID_ISLANDBRAIN) {
+ // The demo of Island of Dr. Brain needs the init selector set to match up with the full
+ // game's workaround.
+ if (names.size() < 111)
+ names.resize(111);
+
+ names[110] = "init";
}
#ifdef ENABLE_SCI32
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