diff options
author | Max Horn | 2010-06-15 12:36:04 +0000 |
---|---|---|
committer | Max Horn | 2010-06-15 12:36:04 +0000 |
commit | 604f85588965498f7852b579e19a9f6e99d32590 (patch) | |
tree | cbd5a55640720228752f2c2247a0647275791f09 /engines | |
parent | f387025e9b6a38b9023ffb2a766c168120472202 (diff) | |
download | scummvm-rg350-604f85588965498f7852b579e19a9f6e99d32590.tar.gz scummvm-rg350-604f85588965498f7852b579e19a9f6e99d32590.tar.bz2 scummvm-rg350-604f85588965498f7852b579e19a9f6e99d32590.zip |
SCUMM: Fix composeFileHashMap
svn-id: r49850
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index c164ac38fd..551e4c70a7 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -395,7 +395,7 @@ static void composeFileHashMap(const Common::FSList &fslist, DescMap &fileMD5Map d.md5Entry = 0; fileMD5Map[file->getName()] = d; } else { - if (!directoryGlobs) + if (!globs) continue; bool matched = false; @@ -411,7 +411,7 @@ static void composeFileHashMap(const Common::FSList &fslist, DescMap &fileMD5Map Common::FSList files; if (file->getChildren(files, Common::FSNode::kListAll)) { - composeFileHashMap(files, fileMD5Map, depth - 1, directoryGlobs); + composeFileHashMap(files, fileMD5Map, depth - 1, globs); } } } |