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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Feb 22 10:13:29 CET 2008


Revision: 30917
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30917&view=rev
Author:   thebluegr
Date:     2008-02-22 01:13:27 -0800 (Fri, 22 Feb 2008)

Log Message:
-----------
Fixed some issues with the previous commit, bug #1893564 should be fixed now without affecting anything else

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

Modified: scummvm/trunk/engines/agi/text.cpp
===================================================================
--- scummvm/trunk/engines/agi/text.cpp	2008-02-22 08:57:18 UTC (rev 30916)
+++ scummvm/trunk/engines/agi/text.cpp	2008-02-22 09:13:27 UTC (rev 30917)
@@ -600,9 +600,13 @@
 	}
 
 	if (!_game.statusLine) {
-		int l = _game.lineStatus + _game.lineUserInput;
-		clearLines(l, l, 0);
-		flushLines(l, l);
+		clearLines(_game.lineStatus, _game.lineStatus, 0);
+		flushLines(_game.lineStatus, _game.lineStatus);
+
+		// Clear the user input line as well when clearing the status line
+		// Fixes bug #1893564 - AGI: Texts messed out in Naturette 1
+		clearLines(_game.lineUserInput, _game.lineUserInput, 0);
+		flushLines(_game.lineUserInput, _game.lineUserInput);
 		return;
 	}
 


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