mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-06 03:20:28 +00:00
(svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars
This commit is contained in:
parent
cc5fd40a74
commit
9ba8361f77
@ -543,7 +543,11 @@ static void SimplifyFileName(char *name)
|
||||
#endif
|
||||
}
|
||||
|
||||
/* static */ uint TarScanner::DoScan() {
|
||||
/* static */ uint TarScanner::DoScan()
|
||||
{
|
||||
_tar_filelist.clear();
|
||||
_tar_list.clear();
|
||||
|
||||
DEBUG(misc, 1, "Scanning for tars");
|
||||
TarScanner fs;
|
||||
uint num = fs.Scan(".tar", DATA_DIR, false);
|
||||
|
Loading…
Reference in New Issue
Block a user