aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index dc3852ba9d..17fcff3600 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -859,7 +859,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h,
assert(numzbuf <= (int)ARRAYSIZE(zplane_list));
if (_vm->_features & GF_OLD256) {
- zplane_list[1] = smap_ptr + READ_LE_UINT16(smap_ptr);
+ zplane_list[1] = smap_ptr + READ_LE_UINT32(smap_ptr);
if (0 == READ_LE_UINT32(zplane_list[1]))
zplane_list[1] = 0;
} else if (_vm->_features & GF_SMALL_HEADER) {