aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:59:23 +0000
committerEugene Sandulenko2010-06-15 10:59:23 +0000
commit44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f (patch)
treef86f55e3d62f5c0ebc309ba69f9fab30214acb5f /engines/teenagent
parent0b83afce03572eb513dd2802a8ad4c0377600f84 (diff)
downloadscummvm-rg350-44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f.tar.gz
scummvm-rg350-44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f.tar.bz2
scummvm-rg350-44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f.zip
AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/detection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/teenagent/detection.cpp b/engines/teenagent/detection.cpp
index 4c61e20b7a..a2dab9658d 100644
--- a/engines/teenagent/detection.cpp
+++ b/engines/teenagent/detection.cpp
@@ -92,7 +92,8 @@ static const ADParams detectionParams = {
0,
0,
Common::GUIO_NONE,
- 1
+ 1,
+ 0
};
#define MAX_SAVES 20