aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray2003-09-14 00:37:47 +0000
committerJonathan Gray2003-09-14 00:37:47 +0000
commitdbc29272e9e5ec3a8d2f83a0781bd90549b221ea (patch)
tree6e0854ef7eca7578e170f524150afad0b7280786
parent47827b1f22836fb837787b31752eea6bde07dd40 (diff)
downloadscummvm-rg350-dbc29272e9e5ec3a8d2f83a0781bd90549b221ea.tar.gz
scummvm-rg350-dbc29272e9e5ec3a8d2f83a0781bd90549b221ea.tar.bz2
scummvm-rg350-dbc29272e9e5ec3a8d2f83a0781bd90549b221ea.zip
use old method to decide on text colouring for loom towns, I think the pink distaff when returning to the first room may be the last bug left now
svn-id: r10247
-rw-r--r--scumm/charset.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 0a8318bc31..e86cde493c 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -929,12 +929,13 @@ void CharsetRendererV3::setColor(byte color)
{
_color = color;
_shadowColor = (_vm->_features & GF_FMTOWNS) ? 8 : 0;
- if (_vm->_features & GF_OLD256) {
- _dropShadow = ((_color & 0x80) != 0);
- _color &= 0x7f;
- } else if (_vm->_features & GF_16COLOR) {
+ // FM Towns version of Loom uses old colour method as well
+ if (_vm->_features & GF_16COLOR || _vm->_gameId == GID_LOOM) {
_dropShadow = ((_color & 0xF0) != 0);
_color &= 0x0f;
+ } else if (_vm->_features & GF_OLD256) {
+ _dropShadow = ((_color & 0x80) != 0);
+ _color &= 0x7f;
} else
_dropShadow = false;
}