(svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets.

This commit is contained in:
frosch 2011-11-15 12:14:08 +00:00
parent 7b86e3e109
commit 1f6c9c6457

View File

@ -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;