From 3744c9f772f61b505e46d698540bd750a3fb4c3d Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 23 Jun 2004 10:08:20 +0000 Subject: fbear always uses a transparency colour of 5 in codec 16 svn-id: r14013 --- scumm/akos.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'scumm') diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 7fbf82a135..0d85a13410 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -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) { -- cgit v1.2.3