[Scummvm-cvs-logs] SF.net SVN: scummvm: [27083] scummvm/trunk/engines/kyra/text.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Jun 4 21:00:42 CEST 2007


Revision: 27083
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27083&view=rev
Author:   lordhoto
Date:     2007-06-04 12:00:41 -0700 (Mon, 04 Jun 2007)

Log Message:
-----------
Fix for bug #1730511 ("KYRA1: Brandon's text isn't cleaned properly").

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/text.cpp

Modified: scummvm/trunk/engines/kyra/text.cpp
===================================================================
--- scummvm/trunk/engines/kyra/text.cpp	2007-06-04 18:08:44 UTC (rev 27082)
+++ scummvm/trunk/engines/kyra/text.cpp	2007-06-04 19:00:41 UTC (rev 27083)
@@ -307,7 +307,7 @@
 	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 @@
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list