aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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() {