diff options
author | Travis Howell | 2009-03-23 12:30:47 +0000 |
---|---|---|
committer | Travis Howell | 2009-03-23 12:30:47 +0000 |
commit | 92e788dbb60e782151a81f33c22185b5de37b6b3 (patch) | |
tree | f766d19de1a5938f942ff8750a7468793f8e2e44 /engines/parallaction/exec_br.cpp | |
parent | d18274d0ee2bf8effcb36b726fc833503f7924aa (diff) | |
download | scummvm-rg350-92e788dbb60e782151a81f33c22185b5de37b6b3.tar.gz scummvm-rg350-92e788dbb60e782151a81f33c22185b5de37b6b3.tar.bz2 scummvm-rg350-92e788dbb60e782151a81f33c22185b5de37b6b3.zip |
Fix pallete for label font in the Amiga version of BRA.
svn-id: r39632
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r-- | engines/parallaction/exec_br.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp index 836dd14f7d..b0421f497a 100644 --- a/engines/parallaction/exec_br.cpp +++ b/engines/parallaction/exec_br.cpp @@ -89,10 +89,11 @@ void Parallaction_br::setupSubtitles(char *s, char *s2, int y) { // FIXME: render subtitles using the right color (10 instead of 0). // The original game features a nasty hack, having the font rendering routine // replacing color 12 of font RUSSIA with 10 when preparing subtitles. - _subtitle[0] = _gfx->createLabel(_labelFont, s, 0); + uint8 color = (_vm->getPlatform() == Common::kPlatformAmiga) ? 11 : 0; + _subtitle[0] = _gfx->createLabel(_labelFont, s, color); _gfx->showLabel(_subtitle[0], CENTER_LABEL_HORIZONTAL, _subtitleY); if (s2) { - _subtitle[1] = _gfx->createLabel(_labelFont, s2, 0); + _subtitle[1] = _gfx->createLabel(_labelFont, s2, color); _gfx->showLabel(_subtitle[1], CENTER_LABEL_HORIZONTAL, _subtitleY + 5 + _labelFont->height()); } else { _subtitle[1] = -1; |