aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-29 22:14:02 -0400
committerPaul Gilbert2014-05-29 22:14:02 -0400
commitddf38aa288db1538b8ff126190029ce6e0fffc94 (patch)
tree8d6b9a5e9232050b961a2d40ac7a90147736bef6
parent06387c25d8e908f174d081769b94dd0625e00b58 (diff)
downloadscummvm-rg350-ddf38aa288db1538b8ff126190029ce6e0fffc94.tar.gz
scummvm-rg350-ddf38aa288db1538b8ff126190029ce6e0fffc94.tar.bz2
scummvm-rg350-ddf38aa288db1538b8ff126190029ce6e0fffc94.zip
MADS: Fix resetting KernelMessages _talkFont after teleporter scene
-rw-r--r--engines/mads/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/messages.cpp b/engines/mads/messages.cpp
index 0d747279bf..9b2d6f3114 100644
--- a/engines/mads/messages.cpp
+++ b/engines/mads/messages.cpp
@@ -64,6 +64,7 @@ void KernelMessages::clear() {
for (uint i = 0; i < _entries.size(); ++i)
_entries[i]._flags = 0;
+ _talkFont = _vm->_font->getFont(FONT_CONVERSATION);
scene._textSpacing = -1;
}
@@ -154,7 +155,6 @@ void KernelMessages::reset() {
for (uint i = 0; i < _entries.size(); ++i)
remove(i);
- _talkFont = _vm->_font->getFont(FONT_CONVERSATION);
_randomMessages.clear();
}