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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Mar 30 20:41:55 CEST 2008


Revision: 31337
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31337&view=rev
Author:   lordhoto
Date:     2008-03-30 11:41:55 -0700 (Sun, 30 Mar 2008)

Log Message:
-----------
Don't enter run loop when quit flag is set.

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

Modified: scummvm/trunk/engines/kyra/kyra_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v2.cpp	2008-03-30 18:41:11 UTC (rev 31336)
+++ scummvm/trunk/engines/kyra/kyra_v2.cpp	2008-03-30 18:41:55 UTC (rev 31337)
@@ -269,7 +269,8 @@
 
 	if (_menuChoice & 1) {
 		startup();
-		runLoop();
+		if (!quit())
+			runLoop();
 		cleanup();
 		
 		if (_showCredits)


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