aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-03-29 15:48:25 +0000
committerPaweł Kołodziejski2003-03-29 15:48:25 +0000
commit69723edd1ef0a742d2b245dacd25930fc6179f95 (patch)
treefdba9e0daad9ee76624e3ea5817af50da1f97d30 /scumm/string.cpp
parent1c2d5878f611d99b0283919d22502771490eeea3 (diff)
downloadscummvm-rg350-69723edd1ef0a742d2b245dacd25930fc6179f95.tar.gz
scummvm-rg350-69723edd1ef0a742d2b245dacd25930fc6179f95.tar.bz2
scummvm-rg350-69723edd1ef0a742d2b245dacd25930fc6179f95.zip
hack for proper description redraw in the dig while scrolling room
svn-id: r6882
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 60a15cd28f..bb5a5cfc59 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -379,8 +379,10 @@ void Scumm::drawDescString(byte *msg) {
} while (c);
_haveMsg = 1;
- gdi._mask_left = _charset->_strLeft;
- gdi._mask_right = _charset->_strRight;
+ // hack: more 8 pixels at width redraw before and after text
+ // for proper description redraw while scrolling room
+ gdi._mask_left = _charset->_strLeft - 8;
+ gdi._mask_right = _charset->_strRight + 8;
gdi._mask_top = _charset->_strTop;
gdi._mask_bottom = _charset->_strBottom;
}