aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-03-17 11:11:00 +0000
committerTravis Howell2005-03-17 11:11:00 +0000
commit0bd4c7b8bcfa554310c5129bee45256b6410bc21 (patch)
treeae6dec8b85f2d5b03d20ef9c5df2ea87d9688ff1 /scumm
parentf50af11b5d99c1a6e8327261bfe1a3b3cae51dcc (diff)
downloadscummvm-rg350-0bd4c7b8bcfa554310c5129bee45256b6410bc21.tar.gz
scummvm-rg350-0bd4c7b8bcfa554310c5129bee45256b6410bc21.tar.bz2
scummvm-rg350-0bd4c7b8bcfa554310c5129bee45256b6410bc21.zip
Missed HE100
svn-id: r17176
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v100he.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index 3333ae91a2..856bcfb181 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -2745,6 +2745,7 @@ void ScummEngine_v100he::o100_getSpriteInfo() {
}
void ScummEngine_v100he::decodeParseString(int m, int n) {
+ Actor *a;
int i, colors, size;
int args[31];
byte name[1024];
@@ -2809,8 +2810,11 @@ void ScummEngine_v100he::decodeParseString(int m, int n) {
break;
case 91:
_string[m].loadDefault();
- if (n)
+ if (n) {
_actorToPrintStrFor = pop();
+ a = derefActorSafe(_actorToPrintStrFor, "decodeParseString");
+ _string[0].color = a->_talkColor;
+ }
break;
case 92:
_string[m].saveDefault();