aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp2
-rw-r--r--scumm/gfx.h2
2 files changed, 2 insertions, 2 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;
diff --git a/scumm/gfx.h b/scumm/gfx.h
index f6117e017f..4313d7e50d 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -115,7 +115,7 @@ public:
Scumm *_vm;
int _numZBuffer;
- int _imgBufOffs[5];
+ int _imgBufOffs[8];
byte _disable_zbuffer;
int32 _numStrips;
int16 _mask_top, _mask_bottom, _mask_right, _mask_left;