aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-04-26 16:25:14 +0000
committerMax Horn2003-04-26 16:25:14 +0000
commit1b5cac75f5c60d10efe6bf0a4cc8bd236f0a1239 (patch)
tree2dc00fac006df5454b84dfd013eac730f44021b4
parentafaac51b65d08048d1d58b534b536260a42586aa (diff)
downloadscummvm-rg350-1b5cac75f5c60d10efe6bf0a4cc8bd236f0a1239.tar.gz
scummvm-rg350-1b5cac75f5c60d10efe6bf0a4cc8bd236f0a1239.tar.bz2
scummvm-rg350-1b5cac75f5c60d10efe6bf0a4cc8bd236f0a1239.zip
temporary work around for 16 color games
svn-id: r7136
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 5f73a32100..698a9b936b 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -2415,6 +2415,8 @@ void Scumm_v5::decodeParseString() {
break;
case 1: /* color */
_string[textSlot].color = getVarOrDirectByte(0x80);
+ if (_features & GF_16COLOR)
+ _string[textSlot].color &= 0x0f; // FIXME
break;
case 2: /* clipping */
_string[textSlot].right = getVarOrDirectWord(0x80);