Ops isInPakList behavior was still not quite correct. Fixed bug with embedded pak files.

svn-id: r31574
This commit is contained in:
Johannes Schickel 2008-04-19 14:40:37 +00:00
parent 1d6af7b502
commit a922069eae

View File

@ -259,7 +259,7 @@ bool Resource::isInPakList(const Common::String &filename) {
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() {