aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-08-23 11:47:51 +0000
committerTravis Howell2004-08-23 11:47:51 +0000
commita5ebe93bc7711c0fa9cb803060798362adef29a9 (patch)
treeb5e704fa9f84aad4dc41c39abd4f18258f478d1b
parentdd20c05db57129ef59b433170746b16815d12f93 (diff)
downloadscummvm-rg350-a5ebe93bc7711c0fa9cb803060798362adef29a9.tar.gz
scummvm-rg350-a5ebe93bc7711c0fa9cb803060798362adef29a9.tar.bz2
scummvm-rg350-a5ebe93bc7711c0fa9cb803060798362adef29a9.zip
Correct value
svn-id: r14717
-rw-r--r--scumm/resource.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 00d1f2a1cb..2197f7f48e 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -2326,9 +2326,7 @@ void ScummEngine::readMAXS(int blockSize) {
_objectRoomTable = (byte *)calloc(_numGlobalObjects, 1);
- // FIXME: Is this correct??? A V6+ game which doesn't use object name
- // resources seems odd...
- _numNewNames = 0;
+ _numNewNames = 10;
_objectRoomTable = (byte *)calloc(_numGlobalObjects * 4, 1);