aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-14 14:50:23 +0000
committerEugene Sandulenko2010-06-14 14:50:23 +0000
commit4d517ed0e9870ef75b7b0c3eeda9659563d3ace9 (patch)
tree073970e756b0d839e6750e2e95c067ab01dcc5ad /engines/teenagent
parent4f3bb60cd59f7b24a4c1d29de7ba790d262b16ee (diff)
downloadscummvm-rg350-4d517ed0e9870ef75b7b0c3eeda9659563d3ace9.tar.gz
scummvm-rg350-4d517ed0e9870ef75b7b0c3eeda9659563d3ace9.tar.bz2
scummvm-rg350-4d517ed0e9870ef75b7b0c3eeda9659563d3ace9.zip
Extended advancedDetector with depth parameter.
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
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 258bd982ed..4c61e20b7a 100644
--- a/engines/teenagent/detection.cpp
+++ b/engines/teenagent/detection.cpp
@@ -91,7 +91,8 @@ static const ADParams detectionParams = {
"teenagent",
0,
0,
- Common::GUIO_NONE
+ Common::GUIO_NONE,
+ 1
};
#define MAX_SAVES 20