diff options
author | Paweł Kołodziejski | 2003-03-29 15:48:25 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-29 15:48:25 +0000 |
commit | 69723edd1ef0a742d2b245dacd25930fc6179f95 (patch) | |
tree | fdba9e0daad9ee76624e3ea5817af50da1f97d30 /scumm/string.cpp | |
parent | 1c2d5878f611d99b0283919d22502771490eeea3 (diff) | |
download | scummvm-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.cpp | 6 |
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; } |