aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-30 06:46:02 +0000
committerTravis Howell2004-09-30 06:46:02 +0000
commit0013beac556bc907afc77bcc60d38b3fb89925a2 (patch)
tree5335caee644202f5d3fa45fb1f4d53972c614ccb
parent3e4fd97f428b736f88a2e94b16ad3ce67d7ece92 (diff)
downloadscummvm-rg350-0013beac556bc907afc77bcc60d38b3fb89925a2.tar.gz
scummvm-rg350-0013beac556bc907afc77bcc60d38b3fb89925a2.tar.bz2
scummvm-rg350-0013beac556bc907afc77bcc60d38b3fb89925a2.zip
roomVars rises to 256 is some HE games.
svn-id: r15353
-rw-r--r--scumm/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index e022af1af2..11b2d1156d 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -2317,7 +2317,7 @@ void ScummEngine::readMAXS(int blockSize) {
_numNewNames = 10;
_objectRoomTable = (byte *)calloc(_numGlobalObjects, 1);
- _numRoomVariables = 64;
+ _numRoomVariables = 256;
_numGlobalScripts = 2048;
} else if (_heversion >= 70 && (blockSize == 38 + 8)) { // Scummsys.9x
@@ -2343,7 +2343,7 @@ void ScummEngine::readMAXS(int blockSize) {
_numNewNames = 10;
_objectRoomTable = (byte *)calloc(_numGlobalObjects, 1);
- _numRoomVariables = 64;
+ _numRoomVariables = 256;
if (_gameId == GID_FREDDI4)
_numGlobalScripts = 2048;
else