diff options
| author | Travis Howell | 2004-10-04 06:20:10 +0000 |
|---|---|---|
| committer | Travis Howell | 2004-10-04 06:20:10 +0000 |
| commit | 49a36911322a6feb147912f7c7cb60e9186ab757 (patch) | |
| tree | 50514339997ae4a86660f12d0e8c6a011951bc2a /scumm/akos.cpp | |
| parent | db6348300199c605a0a183157e4174da8e8e3edb (diff) | |
| download | scummvm-rg350-49a36911322a6feb147912f7c7cb60e9186ab757.tar.gz scummvm-rg350-49a36911322a6feb147912f7c7cb60e9186ab757.tar.bz2 scummvm-rg350-49a36911322a6feb147912f7c7cb60e9186ab757.zip | |
Add actor transparency var for HE99 games.
svn-id: r15405
Diffstat (limited to 'scumm/akos.cpp')
| -rw-r--r-- | scumm/akos.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 3253e426c3..f6ff91584f 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -300,10 +300,15 @@ void AkosRenderer::setPalette(byte *new_palette) { palette[i] = new_palette[i] != 0xFF ? new_palette[i] : akpl[i]; } + if (_transparency) + palette[0] = _transparency; + if (_vm->_heversion == 70 && size) { for (i = 0; i < size; i++) palette[i] = _vm->_HEV7ActorPalette[palette[i]]; - } else if (size == 256) { + } + + if (size == 256) { byte color = new_palette[0]; if (color == 255) { palette[0] = color; |
