[Scummvm-cvs-logs] SF.net SVN: scummvm: [22166] scummvm/trunk/base/engine.h

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Apr 25 18:10:10 CEST 2006


Revision: 22166
Author:   sev
Date:     2006-04-25 18:09:31 -0700 (Tue, 25 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22166&view=rev

Log Message:
-----------
Return correct value from Engine_Empty::init() method.

Modified Paths:
--------------
    scummvm/trunk/base/engine.h
Modified: scummvm/trunk/base/engine.h
===================================================================
--- scummvm/trunk/base/engine.h	2006-04-26 00:59:13 UTC (rev 22165)
+++ scummvm/trunk/base/engine.h	2006-04-26 01:09:31 UTC (rev 22166)
@@ -89,8 +89,8 @@
 	Engine_Empty(OSystem *syst, const Common::String msg = "No valid games were found in specified directory.");
 	virtual ~Engine_Empty() {}
 
-	// Displays error message
-	int init() { GUIErrorMessage(_message); return 0; }
+	// Displays error message and do not run go() method
+	int init() { GUIErrorMessage(_message); return 1; }
 
 	// Just indicate that we want return to launcher
 	int go() { return 1; }


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