aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/string_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/string_manager.cpp b/engines/zvision/string_manager.cpp
index d00ea21369..d069e28a76 100644
--- a/engines/zvision/string_manager.cpp
+++ b/engines/zvision/string_manager.cpp
@@ -156,7 +156,7 @@ void StringManager::parseTag(const Common::String &tagString, uint lineNumber) {
token = tokenizer.nextToken();
}
- TextFragment fragment = _inGameText->fragments.back();
+ TextFragment fragment;
if (fontName.empty()) {
fragment.style.font = _lastStyle.font;