From 672df52e0c2e2192f7b63acfdbcd6e4f0fa457bf Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 25 Aug 2011 10:31:35 +0000 Subject: (svn r22835) -Codechange: keep track of the subdirectory we are looking through in the file scanner --- src/fileio.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fileio.cpp') diff --git a/src/fileio.cpp b/src/fileio.cpp index 9f3d7ea94..86714d108 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -1317,6 +1317,8 @@ static uint ScanTar(FileScanner *fs, const char *extension, TarFileList::iterato */ uint FileScanner::Scan(const char *extension, Subdirectory sd, bool tars, bool recursive) { + this->subdir = sd; + Searchpath sp; char path[MAX_PATH]; TarFileList::iterator tar; -- cgit v1.2.3-54-g00ecf