No shadow palette in later games.

svn-id: r14955
This commit is contained in:
Travis Howell 2004-09-08 06:38:31 +00:00
parent 8d6e15b34a
commit c9a4f23e51

View File

@ -2321,8 +2321,6 @@ void ScummEngine::readMAXS(int blockSize) {
_numRoomVariables = 64; _numRoomVariables = 64;
_numGlobalScripts = 200; _numGlobalScripts = 200;
_shadowPaletteSize = 256;
} else if (_heversion >= 70 && (blockSize == 38 + 8)) { // Scummsys.9x } else if (_heversion >= 70 && (blockSize == 38 + 8)) { // Scummsys.9x
_numVariables = _fileHandle.readUint16LE(); _numVariables = _fileHandle.readUint16LE();
_fileHandle.readUint16LE(); _fileHandle.readUint16LE();
@ -2349,7 +2347,6 @@ void ScummEngine::readMAXS(int blockSize) {
_numRoomVariables = 64; _numRoomVariables = 64;
_numGlobalScripts = 200; _numGlobalScripts = 200;
_shadowPaletteSize = 256;
} else if (_heversion >= 70 && blockSize > 38) { // sputm7.2 } else if (_heversion >= 70 && blockSize > 38) { // sputm7.2
if (blockSize != 32 + 8) if (blockSize != 32 + 8)
error("MAXS block of size %d not supported, please report", blockSize); error("MAXS block of size %d not supported, please report", blockSize);
@ -2374,7 +2371,6 @@ void ScummEngine::readMAXS(int blockSize) {
_objectRoomTable = (byte *)calloc(_numGlobalObjects, 1); _objectRoomTable = (byte *)calloc(_numGlobalObjects, 1);
_numGlobalScripts = 200; _numGlobalScripts = 200;
_shadowPaletteSize = 256;
} else if (_version == 6) { } else if (_version == 6) {
if (blockSize != 30 + 8) if (blockSize != 30 + 8)
error("MAXS block of size %d not supported", blockSize); error("MAXS block of size %d not supported", blockSize);