summaryrefslogtreecommitdiff
path: root/src/fileio_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r--src/fileio_func.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h
index 162ad3b1c..30aa997ae 100644
--- a/src/fileio_func.h
+++ b/src/fileio_func.h
@@ -67,8 +67,9 @@ bool ExtractTar(const char *tar_filename);
extern char *_personal_dir; ///< custom directory for personal settings, saves, newgrf, etc.
/** Helper for scanning for files with a given name */
-class FileScanner
-{
+class FileScanner {
+protected:
+ Subdirectory subdir; ///< The current sub directory we are searching through
public:
/** Destruct the proper one... */
virtual ~FileScanner() {}