Changeset - r18381:0e9d2aa3fc1b
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-11-15 00:26:06
frosch@openttd.org
(svn r23227) -Fix (r23219): The FileScanner should also consider the old directories.
1 file changed with 12 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/fileio.cpp
Show inline comments
 
@@ -1375,6 +1375,18 @@ uint FileScanner::Scan(const char *exten
 
		}
 
	}
 

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

	
0 comments (0 inline, 0 general)