diff options
author | Johannes Schickel | 2008-04-19 14:40:37 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-19 14:40:37 +0000 |
commit | a922069eaeee3b963813840eebbe261ee6e2a06c (patch) | |
tree | 48e43089d007eef099cddb2593d53b0e9b10f9a5 | |
parent | 1d6af7b5024f9eaf5bbce1c398e6160ac465fa43 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/kyra/resource.cpp | 2 |
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() { |