fbear always uses a transparency colour of 5 in codec 16

svn-id: r14013
This commit is contained in:
Jonathan Gray 2004-06-23 10:08:20 +00:00
parent 918858ebce
commit 3744c9f772

View File

@ -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) {