mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-04 02:50:51 +01:00
(svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets.
This commit is contained in:
parent
7b86e3e109
commit
1f6c9c6457
@ -1378,8 +1378,7 @@ uint FileScanner::Scan(const char *extension, Subdirectory sd, bool tars, bool r
|
|||||||
switch (sd) {
|
switch (sd) {
|
||||||
case BASESET_DIR:
|
case BASESET_DIR:
|
||||||
num += this->Scan(extension, OLD_GM_DIR, tars, recursive);
|
num += this->Scan(extension, OLD_GM_DIR, tars, recursive);
|
||||||
break;
|
/* FALL THROUGH */
|
||||||
|
|
||||||
case NEWGRF_DIR:
|
case NEWGRF_DIR:
|
||||||
num += this->Scan(extension, OLD_DATA_DIR, tars, recursive);
|
num += this->Scan(extension, OLD_DATA_DIR, tars, recursive);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user