From 776cdf2d086f51b75f84041313276c87acf8ce61 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sun, 30 Mar 2003 19:03:12 +0000 Subject: added eriktorbjorn patch for multiple text lines for the dig ending credits svn-id: r6889 --- scumm/string.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/string.cpp b/scumm/string.cpp index bb5a5cfc59..201b3a63c9 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -365,7 +365,11 @@ void Scumm::drawDescString(byte *msg) { _talkDelay = 1; - restoreCharsetBg(); + if (_string[0].ypos + _charset->getFontHeight() > 0) + restoreBG(0, _string[0].ypos, _realWidth - 1, _string[0].ypos + _charset->getFontHeight()); + + _charset->_nextLeft = _string[0].xpos; + _charset->_nextTop = _string[0].ypos; do { c = *buf++; -- cgit v1.2.3