summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-15 12:14:08 +0000
committerfrosch <frosch@openttd.org>2011-11-15 12:14:08 +0000
commit1f6c9c645768fd7a69072c89d2eeee7c8a9a1ffb (patch)
tree29231294a1d01bbc7a359da6c9509d5a1d5112df /src
parent7b86e3e109fbacfa7eb71112fe946d762ecba113 (diff)
downloadopenttd-1f6c9c645768fd7a69072c89d2eeee7c8a9a1ffb.tar.xz
(svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index e93685091..8f57eb8a5 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -1378,8 +1378,7 @@ uint FileScanner::Scan(const char *extension, Subdirectory sd, bool tars, bool r
switch (sd) {
case BASESET_DIR:
num += this->Scan(extension, OLD_GM_DIR, tars, recursive);
- break;
-
+ /* FALL THROUGH */
case NEWGRF_DIR:
num += this->Scan(extension, OLD_DATA_DIR, tars, recursive);
break;