mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 03:07:06 +00:00
Unify check in initBGBuffers and in getZPlanes
svn-id: r18054
This commit is contained in:
parent
2921938301
commit
0a8286994e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user