summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp4
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);