aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-03-30 19:03:12 +0000
committerPaweł Kołodziejski2003-03-30 19:03:12 +0000
commit776cdf2d086f51b75f84041313276c87acf8ce61 (patch)
tree400343f84bf0c3ca5b4ab3cd71bd812077b9e6da /scumm
parent7edc0abd5b8ac160133e4e9db0b73d966f084553 (diff)
downloadscummvm-rg350-776cdf2d086f51b75f84041313276c87acf8ce61.tar.gz
scummvm-rg350-776cdf2d086f51b75f84041313276c87acf8ce61.tar.bz2
scummvm-rg350-776cdf2d086f51b75f84041313276c87acf8ce61.zip
added eriktorbjorn patch for multiple text lines for the dig ending credits
svn-id: r6889
Diffstat (limited to 'scumm')
-rw-r--r--scumm/string.cpp6
1 files changed, 5 insertions, 1 deletions
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++;