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

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Tue Jul 14 17:02:20 CEST 2009


Revision: 42482
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42482&view=rev
Author:   buddha_
Date:     2009-07-14 15:02:17 +0000 (Tue, 14 Jul 2009)

Log Message:
-----------
Partially fix automatic restarting of AGI games (Addresses bug #2798797 ('AGI: larry 1 doesn't restart after dying') but doesn't fully fix it. There seems to be more to the problem still. Automatic restarting after dying of an STD doesn't take away the STD-condition and Larry continues to die in a loop).

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

Modified: scummvm/trunk/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/trunk/engines/agi/op_cmd.cpp	2009-07-14 13:55:10 UTC (rev 42481)
+++ scummvm/trunk/engines/agi/op_cmd.cpp	2009-07-14 15:02:17 UTC (rev 42482)
@@ -1256,7 +1256,7 @@
 	int sel;
 
 	g_sound->stopSound();
-	sel = g_agi->getflag(fAutoRestart) ? 1 :
+	sel = g_agi->getflag(fAutoRestart) ? 0 :
 		g_agi->selectionBox(" Restart game, or continue? \n\n\n", buttons);
 
 	if (sel == 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