From 44bfa413f9ebfef4190b13f43e62dd9b94ec39ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Ko=C5=82odziejski?= Date: Mon, 23 Dec 2002 19:03:08 +0000 Subject: [PATCH] changed numString to numArray svn-id: r6078 --- scumm/resource.cpp | 6 +----- scumm/scumm.h | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/scumm/resource.cpp b/scumm/resource.cpp index e15a0ab8caa..efd3124a752 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -1534,13 +1534,9 @@ void Scumm::readMAXS() _numNewNames = _fileHandle.readUint32LE(); // 100 _numFlObject = _fileHandle.readUint32LE(); // 128 _numInventory = _fileHandle.readUint32LE(); // 80 - _numStrings = _fileHandle.readUint32LE(); // 200 + _numArray = _fileHandle.readUint32LE(); // 200 _numVerbs = _fileHandle.readUint32LE(); // 50 - // FIXME - uhm... COMI seems to have an ARRY with 143 entries, but - // indeed _numArray gets set to 50 ?!? - _numArray = 150; - _objectRoomTable = (byte *)calloc(_numGlobalObjects, 1); _numGlobalScripts = 2000; diff --git a/scumm/scumm.h b/scumm/scumm.h index d92310e1708..b6976390d01 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -380,7 +380,6 @@ public: int _numInventory, _numRooms, _numScripts, _numSounds; int _numCharsets, _numCostumes, _numNewNames, _numGlobalScripts; int NUM_ACTORS; - int _numStrings; char *_audioNames; int32 _numAudioNames;