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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Wed Jul 21 21:19:34 CEST 2010


Revision: 51097
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51097&view=rev
Author:   m_kiewitz
Date:     2010-07-21 19:19:33 +0000 (Wed, 21 Jul 2010)

Log Message:
-----------
SCI: fix initializing script 99 of sq3

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-21 18:59:23 UTC (rev 51096)
+++ scummvm/trunk/engines/sci/engine/script.cpp	2010-07-21 19:19:33 UTC (rev 51097)
@@ -441,6 +441,8 @@
 				segMan->resizeClassTable(segMan->classTableSize() + 1);
 			if (g_sci->getGameId() == GID_SQ3 && !g_sci->isDemo() && _nr == 93 && species == (int)segMan->classTableSize())
 				segMan->resizeClassTable(segMan->classTableSize() + 1);
+			if (g_sci->getGameId() == GID_SQ3 && !g_sci->isDemo() && _nr == 99 && species == (int)segMan->classTableSize())
+				segMan->resizeClassTable(segMan->classTableSize() + 1);
 
 			if (species < 0 || species >= (int)segMan->classTableSize())
 				error("Invalid species %d(0x%x) unknown max %d(0x%x) while instantiating script %d\n",


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