mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 18:24:59 +00:00
Add fix for akos colorKey issue in fbear
svn-id: r12898
This commit is contained in:
parent
4092bd5693
commit
955a96ada5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user