diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/stxt.cpp | 2 | ||||
-rw-r--r-- | engines/director/stxt.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/stxt.cpp b/engines/director/stxt.cpp index 463e5f705c..a2d746c9e8 100644 --- a/engines/director/stxt.cpp +++ b/engines/director/stxt.cpp @@ -42,6 +42,8 @@ Stxt::Stxt(Common::SeekableSubReadStreamEndian &textStream) { if (strLen < 200) debugC(3, kDebugText, "text: '%s'", Common::toPrintable(text).c_str()); + _ptext = text; + uint16 formattingCount = textStream.readUint16(); uint32 prevPos = 0; diff --git a/engines/director/stxt.h b/engines/director/stxt.h index 116a17ab68..a08c687fe6 100644 --- a/engines/director/stxt.h +++ b/engines/director/stxt.h @@ -33,6 +33,7 @@ public: public: Common::String _ftext; + Common::String _ptext; uint32 _fontId; uint16 _fontSize; TextType _textType; |