From 414c397000935162df4641dbe0c056b39d32205e Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 Sep 2011 09:48:52 +0000 Subject: (svn r22904) -Codechange: add tar filename to file scanning --- src/newgrf_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf_config.cpp') diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index 6683f7b4f..932e7227e 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -539,7 +539,7 @@ public: { } - /* virtual */ bool AddFile(const char *filename, size_t basepath_length); + /* virtual */ bool AddFile(const char *filename, size_t basepath_length, const char *tar_filename); /** Do the scan for GRFs. */ static uint DoScan() @@ -553,7 +553,7 @@ public: } }; -bool GRFFileScanner::AddFile(const char *filename, size_t basepath_length) +bool GRFFileScanner::AddFile(const char *filename, size_t basepath_length, const char *tar_filename) { GRFConfig *c = new GRFConfig(filename + basepath_length); -- cgit v1.2.3-54-g00ecf