Skip to content

Commit

Permalink
ACCESS: Use VGA_COLOR_TRANS() in setManPalette()
Browse files Browse the repository at this point in the history
This fixes the palette for Tex in Martian Memorandum.
  • Loading branch information
Torbjörn Andersson committed Jul 24, 2015
1 parent c01aa95 commit 08bef96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/access/screen.cpp
Expand Up @@ -114,7 +114,9 @@ void Screen::setInitialPalettte() {
}

void Screen::setManPalette() {
Common::copy(_vm->_screen->_manPal, _vm->_screen->_manPal + 0x42, _rawPalette + 672);
for (int i = 0; i < 0x42; i++) {
_rawPalette[672 + i] = VGA_COLOR_TRANS(_manPal[i]);
}
}

void Screen::setIconPalette() {
Expand Down

0 comments on commit 08bef96

Please sign in to comment.