aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index bc33852a62..bca2e5c64f 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -1298,12 +1298,15 @@ void CharsetRendererNut::printChar(int chr) {
_current->drawShadowChar(chr, _left, _top - _vm->_screenTop, _color, !_ignoreCharsetMask);
_vm->markRectAsDirty(kMainVirtScreen, shadow_left, shadow_right, shadow_top, shadow_bottom, 0);
+ if (_str.left > _left)
+ _str.left = _left;
+
_left += width;
- if (shadow_right > _str.right)
+ if (_str.right < shadow_right )
_str.right = shadow_right;
- if (shadow_bottom > _str.bottom)
+ if (_str.bottom < shadow_bottom)
_str.bottom = shadow_bottom;
}