aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/resource.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-19 14:40:37 +0000
committerJohannes Schickel2008-04-19 14:40:37 +0000
commita922069eaeee3b963813840eebbe261ee6e2a06c (patch)
tree48e43089d007eef099cddb2593d53b0e9b10f9a5 /engines/kyra/resource.cpp
parent1d6af7b5024f9eaf5bbce1c398e6160ac465fa43 (diff)
downloadscummvm-rg350-a922069eaeee3b963813840eebbe261ee6e2a06c.tar.gz
scummvm-rg350-a922069eaeee3b963813840eebbe261ee6e2a06c.tar.bz2
scummvm-rg350-a922069eaeee3b963813840eebbe261ee6e2a06c.zip
Ops isInPakList behavior was still not quite correct. Fixed bug with embedded pak files.
svn-id: r31574
Diffstat (limited to 'engines/kyra/resource.cpp')
-rw-r--r--engines/kyra/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp
index dda6664896..9d15100b65 100644
--- a/engines/kyra/resource.cpp
+++ b/engines/kyra/resource.cpp
@@ -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() {