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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Apr 19 16:40:38 CEST 2008


Revision: 31574
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31574&view=rev
Author:   lordhoto
Date:     2008-04-19 07:40:37 -0700 (Sat, 19 Apr 2008)

Log Message:
-----------
Ops isInPakList behavior was still not quite correct. Fixed bug with embedded pak files.

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

Modified: scummvm/trunk/engines/kyra/resource.cpp
===================================================================
--- scummvm/trunk/engines/kyra/resource.cpp	2008-04-19 14:36:26 UTC (rev 31573)
+++ scummvm/trunk/engines/kyra/resource.cpp	2008-04-19 14:40:37 UTC (rev 31574)
@@ -259,7 +259,7 @@
 	ResFileMap::iterator iter = _map.find(filename);
 	if (iter == _map.end())
 		return false;
-	return iter->_value.parent.empty();
+	return (iter->_value.type != ResFileEntry::kRaw);
 }
 
 void Resource::unloadAllPakFiles() {


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