aboutsummaryrefslogtreecommitdiff
path: root/engines/director/cast.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-11 21:44:37 +0100
committerEugene Sandulenko2019-12-11 21:45:55 +0100
commit23cf5d4bbb3f8ead75ab723afa62f902dfb95e49 (patch)
tree714fc9d4d4893e6d9b5f5ac3fab63af7391fb0ec /engines/director/cast.cpp
parenta35259dc0d2024f181c78fc657f2c4f018045ac2 (diff)
downloadscummvm-rg350-23cf5d4bbb3f8ead75ab723afa62f902dfb95e49.tar.gz
scummvm-rg350-23cf5d4bbb3f8ead75ab723afa62f902dfb95e49.tar.bz2
scummvm-rg350-23cf5d4bbb3f8ead75ab723afa62f902dfb95e49.zip
DIRECTOR: Properly set CachedMacText
Diffstat (limited to 'engines/director/cast.cpp')
-rw-r--r--engines/director/cast.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 5a4936c33f..0de884a7cb 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -215,6 +215,8 @@ void TextCast::importStxt(const Stxt *stxt) {
_palinfo2 = stxt->_palinfo2;
_palinfo3 = stxt->_palinfo3;
_ftext = stxt->_ftext;
+
+ _cachedMacText->setStxt(this);
}
void TextCast::importRTE(byte *text) {