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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Apr 11 19:00:30 CEST 2008


Revision: 31485
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31485&view=rev
Author:   thebluegr
Date:     2008-04-11 10:00:29 -0700 (Fri, 11 Apr 2008)

Log Message:
-----------
Show current text prompt when the accept_input opcode is called. This, together with commit #31477 fix bugs #1875076 - "AGI GR: Input prompt not changing in outhouse" and #1939632 - "SQ2: Text prompt glitch"

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

Modified: scummvm/trunk/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/trunk/engines/agi/op_cmd.cpp	2008-04-11 11:05:04 UTC (rev 31484)
+++ scummvm/trunk/engines/agi/op_cmd.cpp	2008-04-11 17:00:29 UTC (rev 31485)
@@ -1282,6 +1282,7 @@
 	debugC(4, kDebugLevelScripts | kDebugLevelInput, "input normal");
 	g_agi->newInputMode(INPUT_NORMAL);
 	game.inputEnabled = true;
+	g_agi->writePrompt();
 }
 
 cmd(prevent_input) {
@@ -1373,8 +1374,6 @@
 	if (p0 > MAX_STRINGS)
 		return;
 	strcpy(game.strings[p0], curLogic->texts[p1 - 1]);
-	if (p0 == 0 && game.hasPrompt)
-		g_agi->writePrompt();
 }
 
 cmd(display) {


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