aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2003-04-25 10:57:12 +0000
committerMax Horn2003-04-25 10:57:12 +0000
commit913f9d2eb1bb84a1386af6446c641248aad23227 (patch)
tree9dc5e6ea2d0ef547f17cc0475fc8a18ac0bf30c1 /scumm/gfx.cpp
parent3ecd142d6ccac4e3356c214e05bc2c37b4c9b0c5 (diff)
downloadscummvm-rg350-913f9d2eb1bb84a1386af6446c641248aad23227.tar.gz
scummvm-rg350-913f9d2eb1bb84a1386af6446c641248aad23227.tar.bz2
scummvm-rg350-913f9d2eb1bb84a1386af6446c641248aad23227.zip
fixed stupid mistake (yeah yeah, being able to read old code, and use your brain properly, helps :-)
svn-id: r7103
Diffstat (limited to 'scumm/gfx.cpp')
-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) {