aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOystein Eftevaag2006-01-10 16:03:38 +0000
committerOystein Eftevaag2006-01-10 16:03:38 +0000
commit0a33d768abf831eee36b06b33d988c78b6fc7a3f (patch)
tree94df6552e6d25a1aa0ba850c24c413c80b63fb7f
parent9bbd060f7fcc750434b99a64fa59feb56ec08406 (diff)
downloadscummvm-rg350-0a33d768abf831eee36b06b33d988c78b6fc7a3f.tar.gz
scummvm-rg350-0a33d768abf831eee36b06b33d988c78b6fc7a3f.tar.bz2
scummvm-rg350-0a33d768abf831eee36b06b33d988c78b6fc7a3f.zip
Fix for bug #1401319, decreased width of backed up region when text is displayed.
svn-id: r19971
-rw-r--r--kyra/kyra.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp
index f37d66daa3..990d1a2487 100644
--- a/kyra/kyra.cpp
+++ b/kyra/kyra.cpp
@@ -3145,7 +3145,7 @@ void KyraEngine::characterSays(char *chatStr, int8 charNum, int8 chatDuration) {
_text->_talkMessageH = lineNum * 10;
_animator->restoreAllObjectBackgrounds();
- _screen->copyRegion(1, _text->_talkMessageY, 1, 136, 319, _text->_talkMessageH, 2, 2);
+ _screen->copyRegion(12, _text->_talkMessageY, 12, 136, 308, _text->_talkMessageH, 2, 2);
_screen->hideMouse();
_text->printCharacterText(processedString, charNum, _characterList[charNum].x1);
@@ -3160,12 +3160,12 @@ void KyraEngine::characterSays(char *chatStr, int8 charNum, int8 chatDuration) {
_animator->restoreAllObjectBackgrounds();
- _screen->copyRegion(1, 136, 1, _text->_talkMessageY, 319, _text->_talkMessageH, 2, 2);
+ _screen->copyRegion(12, 136, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 2);
_animator->preserveAllBackgrounds();
_animator->prepDrawAllObjects();
_screen->hideMouse();
- _screen->copyRegion(1, _text->_talkMessageY, 1, _text->_talkMessageY, 319, _text->_talkMessageH, 2, 0);
+ _screen->copyRegion(12, _text->_talkMessageY, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 0);
_screen->showMouse();
_animator->flagAllObjectsForRefresh();
_animator->copyChangedObjectsForward(0);