diff options
author | Jonathan Gray | 2004-06-23 10:08:20 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-06-23 10:08:20 +0000 |
commit | 3744c9f772f61b505e46d698540bd750a3fb4c3d (patch) | |
tree | b3adbb4482c806c2530fd6f00fbcf029fb101d65 /scumm | |
parent | 918858ebcef46aea0e90ef32a9a4eae0c76b0448 (diff) | |
download | scummvm-rg350-3744c9f772f61b505e46d698540bd750a3fb4c3d.tar.gz scummvm-rg350-3744c9f772f61b505e46d698540bd750a3fb4c3d.tar.bz2 scummvm-rg350-3744c9f772f61b505e46d698540bd750a3fb4c3d.zip |
fbear always uses a transparency colour of 5 in codec 16
svn-id: r14013
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/akos.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 7fbf82a135..0d85a13410 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -938,9 +938,12 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) { int32 skip_x, skip_y, cur_x, cur_y; byte transparency; //FIXME There should be better method to determine transparency in HE games - if (_vm->_features & GF_HUMONGOUS && _vm->_heversion < 70) - transparency = (_vm->_gameId == GID_FBEAR) ? 5 : 0; - else + if (_vm->_features & GF_HUMONGOUS) { + if (_vm->_gameId == GID_FBEAR) + transparency = 5; + else + transparency = (_vm->_heversion >= 70) ? 255 : 0; + } else transparency = 255; if (_actorHitMode) { |