aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-21 19:19:33 +0000
committerMartin Kiewitz2010-07-21 19:19:33 +0000
commit472dbc9f7d60d873c0979dbb779344937a57261f (patch)
treeb20ee8afbb17eadf94d6f083f9f69b5cf027a72a /engines/sci
parent780b04367738c42f5b1704b495248894f132deb7 (diff)
downloadscummvm-rg350-472dbc9f7d60d873c0979dbb779344937a57261f.tar.gz
scummvm-rg350-472dbc9f7d60d873c0979dbb779344937a57261f.tar.bz2
scummvm-rg350-472dbc9f7d60d873c0979dbb779344937a57261f.zip
SCI: fix initializing script 99 of sq3
svn-id: r51097
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/script.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/script.cpp b/engines/sci/engine/script.cpp
index eb6ff95a3d..6f4c272649 100644
--- a/engines/sci/engine/script.cpp
+++ b/engines/sci/engine/script.cpp
@@ -441,6 +441,8 @@ void Script::initialiseClasses(SegManager *segMan) {
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",