(svn r23227) -Fix (r23219): The FileScanner should also consider the old directories.
This commit is contained in:
@@ -1375,6 +1375,18 @@ 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;
|
||||
|
||||
case NEWGRF_DIR:
|
||||
num += this->Scan(extension, OLD_DATA_DIR, tars, recursive);
|
||||
break;
|
||||
|
||||
default: break;
|
||||
}
|
||||
|
||||
return num;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user