summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-03 13:32:02 +0000
committeryexo <yexo@openttd.org>2010-08-03 13:32:02 +0000
commit04a9a58ecd2e22025c794f72d378b4e718a92267 (patch)
tree62d913068fbdad9af1116f8b175b9330f69e4f19 /src/newgrf_config.cpp
parent87386cabc4b7b5934f5839d7b1f728ceda97a0c9 (diff)
downloadopenttd-04a9a58ecd2e22025c794f72d378b4e718a92267.tar.xz
(svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index 6807a5d5d..b12c688aa 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -549,6 +549,8 @@ void ScanNewGRFFiles()
{
ClearGRFConfigList(&_all_grfs);
+ TarScanner::DoScan();
+
DEBUG(grf, 1, "Scanning for NewGRFs");
uint num = GRFFileScanner::DoScan();