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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Sep 3 11:58:29 CEST 2008


Revision: 34297
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34297&view=rev
Author:   thebluegr
Date:     2008-09-03 09:58:28 +0000 (Wed, 03 Sep 2008)

Log Message:
-----------
Commented out currently broken code, adding a FIXME

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

Modified: scummvm/trunk/engines/agi/cycle.cpp
===================================================================
--- scummvm/trunk/engines/agi/cycle.cpp	2008-09-03 09:55:29 UTC (rev 34296)
+++ scummvm/trunk/engines/agi/cycle.cpp	2008-09-03 09:58:28 UTC (rev 34297)
@@ -352,8 +352,10 @@
 			_game.vars[vKey] = 0;
 		}
 
-		if (quit() == 0xff)
-			ec = errRestartGame;
+		// FIXME: This has been broken with the merge of the RTL GSoC project. quit() returns a boolean, and we're trying to
+		// check it against 0xff, which is never going to be true
+		//if (quit() == 0xff)
+		//	ec = errRestartGame;
 
 		if (shouldPerformAutoSave(_lastSaveTime)) {
 			saveGame(getSavegameFilename(0), "Autosave");


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