Changeset - r10778:91727300f461
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-01-16 16:14:01
rubidium@openttd.org
(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so
1 file changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/fileio.cpp
Show inline comments
 
@@ -1087,8 +1087,11 @@ uint FileScanner::Scan(const char *exten
 
		FioAppendDirectory(path, MAX_PATH, sp, sd);
 
		num += ScanPath(this, extension, path, strlen(path));
 
	}
 
	FOR_ALL_TARS(tar) {
 
		num += ScanTar(this, extension, tar);
 

	
 
	if (tars) {
 
		FOR_ALL_TARS(tar) {
 
			num += ScanTar(this, extension, tar);
 
		}
 
	}
 

	
 
	return num;
0 comments (0 inline, 0 general)