aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v60he.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-03-26 09:21:07 +0000
committerTravis Howell2006-03-26 09:21:07 +0000
commit26c0d2b4fa995def7add48d57028b6644779b915 (patch)
treeee7ae5c351e25f067454a08b0c525d50e47a3108 /engines/scumm/he/script_v60he.cpp
parent59dd971a02dfa875cfa8c476b505f99f95b68afa (diff)
downloadscummvm-rg350-26c0d2b4fa995def7add48d57028b6644779b915.tar.gz
scummvm-rg350-26c0d2b4fa995def7add48d57028b6644779b915.tar.bz2
scummvm-rg350-26c0d2b4fa995def7add48d57028b6644779b915.zip
Always use the correct string slot for HE games specific cases in decodeParseString()
svn-id: r21462
Diffstat (limited to 'engines/scumm/he/script_v60he.cpp')
-rw-r--r--engines/scumm/he/script_v60he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v60he.cpp b/engines/scumm/he/script_v60he.cpp
index 0ccb12555b..6d562cc163 100644
--- a/engines/scumm/he/script_v60he.cpp
+++ b/engines/scumm/he/script_v60he.cpp
@@ -1301,7 +1301,7 @@ void ScummEngine_v60he::decodeParseString(int m, int n) {
push(colors);
getStackList(args, ARRAYSIZE(args));
for (i = 0; i < 16; i++)
- _charsetColorMap[i] = _charsetData[_string[1]._default.charset][i] = (unsigned char)args[i];
+ _charsetColorMap[i] = _charsetData[_string[m]._default.charset][i] = (unsigned char)args[i];
_string[m].color = _charsetColorMap[0];
}
break;