aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-08-23 11:28:28 +0000
committerTravis Howell2004-08-23 11:28:28 +0000
commitf362bad6469e81e8dfc6fa7cadac1d4bf0f017c0 (patch)
tree20d2f2c6e6ff335ee60b5e029b2d2f4b9fe374dc
parent4f55b334eb94f129e7b23019c188f4e0dd4fc6df (diff)
downloadscummvm-rg350-f362bad6469e81e8dfc6fa7cadac1d4bf0f017c0.tar.gz
scummvm-rg350-f362bad6469e81e8dfc6fa7cadac1d4bf0f017c0.tar.bz2
scummvm-rg350-f362bad6469e81e8dfc6fa7cadac1d4bf0f017c0.zip
Corrections
svn-id: r14715
-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);