aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/gfx')
-rw-r--r--engines/titanic/gfx/text_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/gfx/text_control.cpp b/engines/titanic/gfx/text_control.cpp
index d1d2e1c530..b0d1cd9ab2 100644
--- a/engines/titanic/gfx/text_control.cpp
+++ b/engines/titanic/gfx/text_control.cpp
@@ -263,7 +263,7 @@ void CTextControl::remapColors(uint count, uint *srcColors, uint *destColors) {
for (uint index = 0; index < count; ++index) {
if (color == srcColors[index]) {
// Found a match, so replace the color
- setLineColor(lineNum, destColors[lineNum]);
+ setLineColor(lineNum, destColors[index]);
break;
}
}