[Scummvm-cvs-logs] SF.net SVN: scummvm: [21935] scummvm/trunk/engines/sword2/resman.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sun Apr 16 05:24:06 CEST 2006


Revision: 21935
Author:   fingolfin
Date:     2006-04-16 05:23:37 -0700 (Sun, 16 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21935&view=rev

Log Message:
-----------
Do not override the 'directory' param when dumping BS2 resources

Modified Paths:
--------------
    scummvm/trunk/engines/sword2/resman.cpp
Modified: scummvm/trunk/engines/sword2/resman.cpp
===================================================================
--- scummvm/trunk/engines/sword2/resman.cpp	2006-04-16 10:23:36 UTC (rev 21934)
+++ scummvm/trunk/engines/sword2/resman.cpp	2006-04-16 12:23:37 UTC (rev 21935)
@@ -299,8 +299,8 @@
 			sprintf(buf, "dumps/%s-%d.dmp", tag, res);
 #endif
 
-			if (!out.exists(buf, "")) {
-				if (out.open(buf, Common::File::kFileWriteMode, ""))
+			if (!out.exists(buf)) {
+				if (out.open(buf, Common::File::kFileWriteMode))
 					out.write(_resList[res].ptr, len);
 			}
 		}


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