From dbc29272e9e5ec3a8d2f83a0781bd90549b221ea Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 14 Sep 2003 00:37:47 +0000 Subject: 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 --- scumm/charset.cpp | 9 +++++---- 1 file 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; } -- cgit v1.2.3