mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
fbear always uses a transparency colour of 5 in codec 16
svn-id: r14013
This commit is contained in:
parent
918858ebce
commit
3744c9f772
@ -938,9 +938,12 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) {
|
|||||||
int32 skip_x, skip_y, cur_x, cur_y;
|
int32 skip_x, skip_y, cur_x, cur_y;
|
||||||
byte transparency;
|
byte transparency;
|
||||||
//FIXME There should be better method to determine transparency in HE games
|
//FIXME There should be better method to determine transparency in HE games
|
||||||
if (_vm->_features & GF_HUMONGOUS && _vm->_heversion < 70)
|
if (_vm->_features & GF_HUMONGOUS) {
|
||||||
transparency = (_vm->_gameId == GID_FBEAR) ? 5 : 0;
|
if (_vm->_gameId == GID_FBEAR)
|
||||||
else
|
transparency = 5;
|
||||||
|
else
|
||||||
|
transparency = (_vm->_heversion >= 70) ? 255 : 0;
|
||||||
|
} else
|
||||||
transparency = 255;
|
transparency = 255;
|
||||||
|
|
||||||
if (_actorHitMode) {
|
if (_actorHitMode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user