summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r--src/fileio.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index c90d28f9f..c56640579 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -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);