aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/resource.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index d9426f14ed..f665625522 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -2313,7 +2313,7 @@ void ScummEngine::readMAXS(int blockSize) {
_numLocalObjects = _fileHandle.readUint16LE();
_numArray = _fileHandle.readUint16LE();
_fileHandle.readUint16LE();
- _fileHandle.readUint16LE();
+ _numVerbs = _fileHandle.readUint16LE();
_numFlObject = _fileHandle.readUint16LE();
_numInventory = _fileHandle.readUint16LE();
_numRooms = _fileHandle.readUint16LE();
@@ -2322,10 +2322,7 @@ void ScummEngine::readMAXS(int blockSize) {
_numCharsets = _fileHandle.readUint16LE();
_numCostumes = _fileHandle.readUint16LE();
_numGlobalObjects = _fileHandle.readUint16LE();
- _fileHandle.readUint16LE();
-
- // FIXME: Where is this set???
- _numVerbs = 200;
+ _numImages = _fileHandle.readUint16LE();
_objectRoomTable = (byte *)calloc(_numGlobalObjects, 1);