aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/string.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 8e6770a646..3e1a3b05e3 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -434,7 +434,6 @@ void ScummEngine::drawString(int a, const byte *msg) {
fontHeight = _charset->getFontHeight();
-
// trim from the right
byte *tmp = buf;
space = NULL;
@@ -491,7 +490,11 @@ void ScummEngine::drawString(int a, const byte *msg) {
} else {
_charset->_left = _charset->_startLeft;
}
- _charset->_top += fontHeight;
+ if (_string[0].height) {
+ _charset->_nextTop += _string[0].height;
+ } else {
+ _charset->_top += fontHeight;
+ }
break;
case 12:
color = buf[i] + (buf[i + 1] << 8);