aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-23 09:13:00 -0400
committerPaul Gilbert2016-07-23 09:13:00 -0400
commit9a69ee3f44ee6ad72da8f5bacf3329f95d86707f (patch)
treeb6d4b95c97fc80dabc45d86f2d8ee56a5bf85db6 /engines
parent8f43f2a7a563c13200a9d946f4473ca11d05385a (diff)
downloadscummvm-rg350-9a69ee3f44ee6ad72da8f5bacf3329f95d86707f.tar.gz
scummvm-rg350-9a69ee3f44ee6ad72da8f5bacf3329f95d86707f.tar.bz2
scummvm-rg350-9a69ee3f44ee6ad72da8f5bacf3329f95d86707f.zip
TITANIC: Fix redrawing CPetText after line colors are changed
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/pet_control/pet_text.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_text.cpp b/engines/titanic/pet_control/pet_text.cpp
index 983d35ebe5..6813095626 100644
--- a/engines/titanic/pet_control/pet_text.cpp
+++ b/engines/titanic/pet_control/pet_text.cpp
@@ -76,6 +76,8 @@ void CPetText::setLineColor(uint lineNum, byte r, byte g, byte b) {
buffer[4] = TEXTCMD_SET_COLOR;
buffer[5] = '\0';
_array[lineNum]._rgb = buffer;
+
+ _stringsMerged = false;
}
void CPetText::load(SimpleFile *file, int param) {