aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2005-05-11 14:42:59 +0000
committerMax Horn2005-05-11 14:42:59 +0000
commit0a8286994e901d172e232b3743fdf20a73fee85b (patch)
tree8ba5a06b3aa389126fd8d3f4a944a892b0ced939 /scumm
parent2921938301638497c88fcdd437bd6b08528e00d0 (diff)
downloadscummvm-rg350-0a8286994e901d172e232b3743fdf20a73fee85b.tar.gz
scummvm-rg350-0a8286994e901d172e232b3743fdf20a73fee85b.tar.bz2
scummvm-rg350-0a8286994e901d172e232b3743fdf20a73fee85b.zip
Unify check in initBGBuffers and in getZPlanes
svn-id: r18054
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 46a0f8281b..7bc3ee7d8c 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -707,7 +707,7 @@ void ScummEngine::initBGBuffers(int height) {
ptr = findResourceData(MKID('SMAP'), room);
gdi._numZBuffer = 0;
- if (_gameId == GID_MONKEY_EGA || _gameId == GID_PASS)
+ if (_features & GF_16COLOR)
off = READ_LE_UINT16(ptr);
else
off = READ_LE_UINT32(ptr);