Add fix for akos colorKey issue in fbear

svn-id: r12898
This commit is contained in:
Travis Howell 2004-02-15 03:47:26 +00:00
parent 4092bd5693
commit 955a96ada5

View File

@ -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");