Made explicitly clear that for GID_PJSDEMO, _numNewNames never got set (i.e. it always was stuck at 0)

svn-id: r12924
This commit is contained in:
Max Horn 2004-02-17 17:45:22 +00:00
parent eefbe23801
commit 8e5df2bda3

View File

@ -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;