[Scummvm-cvs-logs] SF.net SVN: scummvm:[34804] scummvm/trunk/engines/scumm/he/script_v60he.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Oct 14 21:39:33 CEST 2008


Revision: 34804
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34804&view=rev
Author:   fingolfin
Date:     2008-10-14 19:39:33 +0000 (Tue, 14 Oct 2008)

Log Message:
-----------
Another tweak to HE: Use SearchMan.openFile instead of a raw FSNode

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/script_v60he.cpp

Modified: scummvm/trunk/engines/scumm/he/script_v60he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v60he.cpp	2008-10-14 19:00:21 UTC (rev 34803)
+++ scummvm/trunk/engines/scumm/he/script_v60he.cpp	2008-10-14 19:39:33 UTC (rev 34804)
@@ -1010,8 +1010,7 @@
 			// TODO / FIXME: Consider using listSavefiles to avoid unneccessary openForLoading calls
 			_hInFileTable[slot] = _saveFileMan->openForLoading(filename);
 			if (_hInFileTable[slot] == 0) {
-				Common::FSNode node(filename);
-				_hInFileTable[slot] = node.openForReading();
+				_hInFileTable[slot] = SearchMan.openFile(filename);
 			}
 			break;
 		case 2:


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