summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-02-25 08:42:39 +0000
committerrubidium <rubidium@openttd.org>2012-02-25 08:42:39 +0000
commit27cf8de73381622122bde6b34d86e72dd47e3875 (patch)
tree1bd1ba20e2b0cdc26d7a831bd20ba1be3c3c5e56 /src
parent7aeb89c984a205bcf1aac043f005011a4c4da036 (diff)
downloadopenttd-27cf8de73381622122bde6b34d86e72dd47e3875.tar.xz
(svn r23983) -Fix [FS#5083]: tarred heightmaps wouldn't be found
Diffstat (limited to 'src')
-rw-r--r--src/fileio.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index 34d896197..7e4d21f01 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -683,6 +683,7 @@ uint TarScanner::DoScan(Subdirectory sd)
}
if (mode & TarScanner::SCENARIO) {
num += fs.DoScan(SCENARIO_DIR);
+ num += fs.DoScan(HEIGHTMAP_DIR);
}
DEBUG(misc, 1, "Scan complete, found %d files", num);
return num;