diff options
author | Max Horn | 2004-02-17 17:45:22 +0000 |
---|---|---|
committer | Max Horn | 2004-02-17 17:45:22 +0000 |
commit | 8e5df2bda3fb7d3e4f03d9ea3778a14aeb5c404e (patch) | |
tree | 00764840bc573ea0d32768dcda3739d05199b809 | |
parent | eefbe23801f2aa8cd5d184a0cd644c8509264b5a (diff) | |
download | scummvm-rg350-8e5df2bda3fb7d3e4f03d9ea3778a14aeb5c404e.tar.gz scummvm-rg350-8e5df2bda3fb7d3e4f03d9ea3778a14aeb5c404e.tar.bz2 scummvm-rg350-8e5df2bda3fb7d3e4f03d9ea3778a14aeb5c404e.zip |
Made explicitly clear that for GID_PJSDEMO, _numNewNames never got set (i.e. it always was stuck at 0)
svn-id: r12924
-rw-r--r-- | scumm/resource.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index d2784d59c4..a1663b2a82 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -2059,6 +2059,10 @@ void ScummEngine::readMAXS() { _numGlobalObjects = _fileHandle.readUint16LE(); _fileHandle.readUint16LE(); + // FIXME: Is this correct??? A V6+ game which doesn't use object name + // resources seems odd... + _numNewNames = 0; + _objectRoomTable = (byte *)calloc(_numGlobalObjects * 4, 1); _numGlobalScripts = 200; _shadowPaletteSize = 256; |