aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-03-25 01:20:05 +0000
committerVincent Hamm2002-03-25 01:20:05 +0000
commit29f2188c2d625e90a47ea3aac1a5a553f4e1a460 (patch)
tree8cfc667f2614ea363dff2a5f3cd7329e2a395dd6 /gfx.cpp
parent29e08ae6ed450eb317f01e3b303fcdab436f053c (diff)
downloadscummvm-rg350-29f2188c2d625e90a47ea3aac1a5a553f4e1a460.tar.gz
scummvm-rg350-29f2188c2d625e90a47ea3aac1a5a553f4e1a460.tar.bz2
scummvm-rg350-29f2188c2d625e90a47ea3aac1a5a553f4e1a460.zip
Moved the v3 specific version of readIndex
svn-id: r3817
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.cpp b/gfx.cpp
index f72959d0e9..c961fbb280 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -348,7 +348,7 @@ void Scumm::initBGBuffers() {
ptr = findResource(MKID('RMIH'), findResource(MKID('RMIM'), room));
gdi._numZBuffer = READ_LE_UINT16(ptr+8) + 1;
}
- assert(gdi._numZBuffer>=1 && gdi._numZBuffer<=4);
+ assert(gdi._numZBuffer>=1 && gdi._numZBuffer<=5);
itemsize = (_scrHeight + 4) * 40;
size = itemsize * gdi._numZBuffer;