aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/credit_text.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-28 20:20:27 -0400
committerPaul Gilbert2016-08-28 20:20:27 -0400
commit9ee88138817c4992c2fced6fc79cb9f99c105f7c (patch)
tree443e4113b8a70ca1ccf0d2f49cbdb1e3337a6388 /engines/titanic/support/credit_text.cpp
parent400d8308c280eaf2706eaef8e5408c1a600de057 (diff)
downloadscummvm-rg350-9ee88138817c4992c2fced6fc79cb9f99c105f7c.tar.gz
scummvm-rg350-9ee88138817c4992c2fced6fc79cb9f99c105f7c.tar.bz2
scummvm-rg350-9ee88138817c4992c2fced6fc79cb9f99c105f7c.zip
TITANIC: Fix warnings in CCreditText
Diffstat (limited to 'engines/titanic/support/credit_text.cpp')
-rw-r--r--engines/titanic/support/credit_text.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/titanic/support/credit_text.cpp b/engines/titanic/support/credit_text.cpp
index 0e9715aaa6..24035d1f6d 100644
--- a/engines/titanic/support/credit_text.cpp
+++ b/engines/titanic/support/credit_text.cpp
@@ -87,8 +87,11 @@ void CCreditText::setup() {
}
_groups.push_back(group);
+ if (hasDots)
+ handleDots(group);
}
+ _screenManagerP->setFontNumber(oldFontNumber);
_groupIt = _groups.begin();
_lineIt = (*_groupIt)->_lines.begin();
_totalHeight = _objectP->getBounds().height() + _fontHeight * 2;