From 0a8286994e901d172e232b3743fdf20a73fee85b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 11 May 2005 14:42:59 +0000 Subject: [PATCH] Unify check in initBGBuffers and in getZPlanes svn-id: r18054 --- scumm/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 46a0f8281b3..7bc3ee7d8c7 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);