aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 09ddda5d73..4759e9240d 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -226,6 +226,8 @@ void Gdi::init() {
_textSurface.h = _vm->_screenHeight;
_textSurface.pitch = _vm->_screenWidth;
_textSurface.bytesPerPixel = 1;
+
+ _numStrips = _vm->_screenWidth / 8;
}