diff options
author | James Brown | 2002-12-26 18:10:14 +0000 |
---|---|---|
committer | James Brown | 2002-12-26 18:10:14 +0000 |
commit | a6e9f3b65dc68eb8b3bca8f28d6be361494b570d (patch) | |
tree | 6087b61e62d2a33a219cc84a1e1d8265c17bccde /scumm/gfx.cpp | |
parent | 5a9b972efd9116ff97cadc97656eeb6c0ba86a20 (diff) | |
download | scummvm-rg350-a6e9f3b65dc68eb8b3bca8f28d6be361494b570d.tar.gz scummvm-rg350-a6e9f3b65dc68eb8b3bca8f28d6be361494b570d.tar.bz2 scummvm-rg350-a6e9f3b65dc68eb8b3bca8f28d6be361494b570d.zip |
Increase allowed zbuffers for CMI (One room, 16, uses at least 6.. add a few spare just in case).
svn-id: r6174
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 02cd689ee8..68033ebb62 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -504,7 +504,7 @@ void Scumm::initBGBuffers(int height) ptr = findResource(MKID('RMIH'), findResource(MKID('RMIM'), room)); gdi._numZBuffer = READ_LE_UINT16(ptr + 8) + 1; } - assert(gdi._numZBuffer >= 1 && gdi._numZBuffer <= 5); + assert(gdi._numZBuffer >= 1 && gdi._numZBuffer <= 8); if (_features & GF_AFTER_V7) itemsize = _scrHeight * gdi._numStrips + gdi._numStrips * 10; |