diff options
author | Travis Howell | 2004-02-15 03:47:26 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-15 03:47:26 +0000 |
commit | 955a96ada55f6ba1a5974664eae18591e3f40748 (patch) | |
tree | 2216e0872fcae4d0440f973d7f871cfb894f7fd4 | |
parent | 4092bd569394d3a86b2499336582adabe45e3002 (diff) | |
download | scummvm-rg350-955a96ada55f6ba1a5974664eae18591e3f40748.tar.gz scummvm-rg350-955a96ada55f6ba1a5974664eae18591e3f40748.tar.bz2 scummvm-rg350-955a96ada55f6ba1a5974664eae18591e3f40748.zip |
Add fix for akos colorKey issue in fbear
svn-id: r12898
-rw-r--r-- | scumm/akos.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 1099bfa734..a748a66821 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -948,7 +948,12 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) { Common::Rect clip; int32 maxw, maxh; int32 skip_x, skip_y, cur_x, cur_y; - const byte transparency = (_vm->_features & GF_HUMONGOUS) ? 0 : 255; + byte transparency; + //FIXME There should be better method to determine transparency in HE games + if (_vm->_features & GF_HUMONGOUS) + transparency = (_vm->_gameId == GID_FBEAR) ? 5 : 0; + else + transparency = 255; if (_actorHitMode) { warning("codec16: _actorHitMode not yet implemented"); |