aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2007-06-04 19:00:41 +0000
committerJohannes Schickel2007-06-04 19:00:41 +0000
commit9774d3b80ab16db07074acd5e0c71bda27ecbfb6 (patch)
treee20ce1e6a05cf410c72655a9fd8f8be5875e03d0 /engines/kyra
parent1fe7b427dd1171a3314c81471aad1928a885e964 (diff)
downloadscummvm-rg350-9774d3b80ab16db07074acd5e0c71bda27ecbfb6.tar.gz
scummvm-rg350-9774d3b80ab16db07074acd5e0c71bda27ecbfb6.tar.bz2
scummvm-rg350-9774d3b80ab16db07074acd5e0c71bda27ecbfb6.zip
Fix for bug #1730511 ("KYRA1: Brandon's text isn't cleaned properly").
svn-id: r27083
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/text.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/text.cpp b/engines/kyra/text.cpp
index c187959476..58ce3c9d1e 100644
--- a/engines/kyra/text.cpp
+++ b/engines/kyra/text.cpp
@@ -307,7 +307,7 @@ void KyraEngine::characterSays(int vocFile, const char *chatStr, int8 charNum, i
if (textEnabled()) {
_animator->restoreAllObjectBackgrounds();
- _screen->copyRegion(12, _text->_talkMessageY, 12, 136, 296, _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);
@@ -326,12 +326,12 @@ void KyraEngine::characterSays(int vocFile, const char *chatStr, int8 charNum, i
if (textEnabled()) {
_animator->restoreAllObjectBackgrounds();
- _screen->copyRegion(12, 136, 12, _text->_talkMessageY, 296, _text->_talkMessageH, 2, 2);
+ _screen->copyRegion(12, 136, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 2);
_animator->preserveAllBackgrounds();
_animator->prepDrawAllObjects();
_screen->hideMouse();
- _screen->copyRegion(12, _text->_talkMessageY, 12, _text->_talkMessageY, 296, _text->_talkMessageH, 2, 0);
+ _screen->copyRegion(12, _text->_talkMessageY, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 0);
_screen->showMouse();
_animator->flagAllObjectsForRefresh();
_animator->copyChangedObjectsForward(0);