mirror of https://github.com/OpenTTD/OpenTTD
(svn r19776) -Change: don't scan for tars in the script scanner; it has already happened.
parent
3f961ca671
commit
8a2fecbff5
|
@ -87,9 +87,6 @@ void ScriptScanner::ScanScriptDir(const char *info_file_name, Subdirectory searc
|
||||||
char buf[MAX_PATH];
|
char buf[MAX_PATH];
|
||||||
Searchpath sp;
|
Searchpath sp;
|
||||||
|
|
||||||
extern void ScanForTarFiles();
|
|
||||||
ScanForTarFiles();
|
|
||||||
|
|
||||||
FOR_ALL_SEARCHPATHS(sp) {
|
FOR_ALL_SEARCHPATHS(sp) {
|
||||||
FioAppendDirectory(buf, MAX_PATH, sp, search_dir);
|
FioAppendDirectory(buf, MAX_PATH, sp, search_dir);
|
||||||
if (FileExists(buf)) this->ScanDir(buf, info_file_name);
|
if (FileExists(buf)) this->ScanDir(buf, info_file_name);
|
||||||
|
|
Loading…
Reference in New Issue