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

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Jun 15 12:27:42 CEST 2010


Revision: 49732
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49732&view=rev
Author:   sev
Date:     2010-06-15 10:27:42 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
AGI: Fix bug #2959630.

Bug #2959630: "LSL1: Security in blackjack" fixed by partially
reverting r41241. Do not clear prompt without on disabling input.

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

Modified: scummvm/trunk/engines/agi/text.cpp
===================================================================
--- scummvm/trunk/engines/agi/text.cpp	2010-06-15 10:27:23 UTC (rev 49731)
+++ scummvm/trunk/engines/agi/text.cpp	2010-06-15 10:27:42 UTC (rev 49732)
@@ -656,11 +656,8 @@
 	int l, fg, bg, pos;
 	int promptLength = strlen(agiSprintf(_game.strings[0]));
 
-	if (!_game.inputEnabled || _game.inputMode != INPUT_NORMAL) {
-		clearPrompt();
-
+	if (!_game.inputEnabled || _game.inputMode != INPUT_NORMAL)
 		return;
-	}
 
 	l = _game.lineUserInput;
 	fg = _game.colorFg;


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