Mercurial > hg > openttd
changeset 18391:4cd52aa29256 draft
(svn r23227) -Fix (r23219): The FileScanner should also consider the old directories.
author | frosch <frosch@openttd.org> |
---|---|
date | Tue, 15 Nov 2011 00:26:06 +0000 |
parents | bf91535eb515 |
children | 38b95a0d6307 |
files | src/fileio.cpp |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -1375,6 +1375,18 @@ } } + 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; }