diff options
author | Travis Howell | 2004-06-26 01:02:52 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-26 01:02:52 +0000 |
commit | dfa7af5b5d7935e2450ba6bdb49461229facd1c3 (patch) | |
tree | b9fcb2225ec57a7d03b8c18469e1980fcddfbfc0 /scumm | |
parent | 6b722ff11bcaa4622cf662245819993316eb8c5d (diff) | |
download | scummvm-rg350-dfa7af5b5d7935e2450ba6bdb49461229facd1c3.tar.gz scummvm-rg350-dfa7af5b5d7935e2450ba6bdb49461229facd1c3.tar.bz2 scummvm-rg350-dfa7af5b5d7935e2450ba6bdb49461229facd1c3.zip |
Fix transparency for akos codec 16 in HE games.
svn-id: r14059
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/akos.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index d88d348e69..7a3104c2c5 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -934,12 +934,7 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) { Common::Rect clip; int32 maxw, maxh; 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) { - transparency = (_vm->_gameId == GID_FBEAR) ? 5 : 0; - } else - transparency = 255; + byte transparency = (_vm->_features & GF_HUMONGOUS) ? palette[0] : 255; if (_actorHitMode) { warning("codec16: _actorHitMode not yet implemented"); |