diff options
author | rubidium <rubidium@openttd.org> | 2011-09-08 09:48:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-09-08 09:48:52 +0000 |
commit | 414c397000935162df4641dbe0c056b39d32205e (patch) | |
tree | 017dc3d94c6c765e1ba9fa28e46f536b7ec1b384 /src/newgrf_config.cpp | |
parent | 92244f1663367a14051578daa4120c748b1ba9f4 (diff) | |
download | openttd-414c397000935162df4641dbe0c056b39d32205e.tar.xz |
(svn r22904) -Codechange: add tar filename to file scanning
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |