[Scummvm-cvs-logs] SF.net SVN: scummvm:[51009] scummvm/trunk/engines/sci/engine/script.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sun Jul 18 22:19:15 CEST 2010


Revision: 51009
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51009&view=rev
Author:   m_kiewitz
Date:     2010-07-18 20:19:14 +0000 (Sun, 18 Jul 2010)

Log Message:
-----------
SCI: add script number to r51008 change

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/script.cpp

Modified: scummvm/trunk/engines/sci/engine/script.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/script.cpp	2010-07-18 20:14:18 UTC (rev 51008)
+++ scummvm/trunk/engines/sci/engine/script.cpp	2010-07-18 20:19:14 UTC (rev 51009)
@@ -438,7 +438,7 @@
 			if (g_sci->getGameId() == GID_LSL2 && g_sci->isDemo() && species == (int)segMan->classTableSize())
 				segMan->resizeClassTable(segMan->classTableSize() + 1);
 			// WORKAROUND for an invalid species access in LSL3 script 500
-			if (g_sci->getGameId() == GID_LSL3 && !g_sci->isDemo() && species == (int)segMan->classTableSize())
+			if (g_sci->getGameId() == GID_LSL3 && !g_sci->isDemo() && _nr == 500 && species == (int)segMan->classTableSize())
 				segMan->resizeClassTable(segMan->classTableSize() + 1);
 
 			if (species < 0 || species >= (int)segMan->classTableSize())


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