diff options
author | Johannes Schickel | 2007-09-16 15:15:15 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-09-16 15:15:15 +0000 |
commit | c4aa4fe644a13d381a9140db6c7b93db7eb1f30c (patch) | |
tree | aa220d01228a4ef18d13c4805e253baef6553bcc | |
parent | e3f1a1ced8fdcb2585481b3bf895cf79fd77d4b8 (diff) | |
download | scummvm-rg350-c4aa4fe644a13d381a9140db6c7b93db7eb1f30c.tar.gz scummvm-rg350-c4aa4fe644a13d381a9140db6c7b93db7eb1f30c.tar.bz2 scummvm-rg350-c4aa4fe644a13d381a9140db6c7b93db7eb1f30c.zip |
Fixed a little graphics glitch, where sometimes parts of the interface were cleared.
svn-id: r28932
-rw-r--r-- | engines/kyra/text_v1.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/text_v1.cpp b/engines/kyra/text_v1.cpp index c04aa2105f..ae18d793ef 100644 --- a/engines/kyra/text_v1.cpp +++ b/engines/kyra/text_v1.cpp @@ -302,7 +302,7 @@ void KyraEngine_v1::characterSays(int vocFile, const char *chatStr, int8 charNum if (textEnabled()) { _animator->restoreAllObjectBackgrounds(); - _screen->copyRegion(12, _text->_talkMessageY, 12, 136, 308, _text->_talkMessageH, 2, 2); + _screen->copyRegion(12, _text->_talkMessageY, 12, 136, 296, _text->_talkMessageH, 2, 2); _screen->hideMouse(); _text->printCharacterText(processedString, charNum, _characterList[charNum].x1); @@ -321,12 +321,12 @@ void KyraEngine_v1::characterSays(int vocFile, const char *chatStr, int8 charNum if (textEnabled()) { _animator->restoreAllObjectBackgrounds(); - _screen->copyRegion(12, 136, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 2); + _screen->copyRegion(12, 136, 12, _text->_talkMessageY, 296, _text->_talkMessageH, 2, 2); _animator->preserveAllBackgrounds(); _animator->prepDrawAllObjects(); _screen->hideMouse(); - _screen->copyRegion(12, _text->_talkMessageY, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 0); + _screen->copyRegion(12, _text->_talkMessageY, 12, _text->_talkMessageY, 296, _text->_talkMessageH, 2, 0); _screen->showMouse(); _animator->flagAllObjectsForRefresh(); _animator->copyChangedObjectsForward(0); |