aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-02-15 03:47:26 +0000
committerTravis Howell2004-02-15 03:47:26 +0000
commit955a96ada55f6ba1a5974664eae18591e3f40748 (patch)
tree2216e0872fcae4d0440f973d7f871cfb894f7fd4 /scumm/akos.cpp
parent4092bd569394d3a86b2499336582adabe45e3002 (diff)
downloadscummvm-rg350-955a96ada55f6ba1a5974664eae18591e3f40748.tar.gz
scummvm-rg350-955a96ada55f6ba1a5974664eae18591e3f40748.tar.bz2
scummvm-rg350-955a96ada55f6ba1a5974664eae18591e3f40748.zip
Add fix for akos colorKey issue in fbear
svn-id: r12898
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp7
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");