summaryrefslogtreecommitdiff
path: root/src/fios.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-14 21:28:43 +0000
committerrubidium <rubidium@openttd.org>2011-11-14 21:28:43 +0000
commit160294ff22a2b30fc75be1977117eac6910bdd82 (patch)
tree9e70bb61b0b940a27bbc3d7ede3d81458c786a7a /src/fios.cpp
parentf60042942473640e60136e7a43d2bc6a4c824a26 (diff)
downloadopenttd-160294ff22a2b30fc75be1977117eac6910bdd82.tar.xz
(svn r23216) -Codechange: introduce the concept of having different tar lists
Diffstat (limited to 'src/fios.cpp')
-rw-r--r--src/fios.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fios.cpp b/src/fios.cpp
index 731a12ecd..ffbe57375 100644
--- a/src/fios.cpp
+++ b/src/fios.cpp
@@ -507,8 +507,8 @@ static FiosType FiosGetHeightmapListCallback(SaveLoadDialogMode mode, const char
if (type == FIOS_TYPE_INVALID) return FIOS_TYPE_INVALID;
- TarFileList::iterator it = _tar_filelist.find(file);
- if (it != _tar_filelist.end()) {
+ TarFileList::iterator it = _tar_filelist[SCENARIO_DIR].find(file);
+ if (it != _tar_filelist[SCENARIO_DIR].end()) {
/* If the file is in a tar and that tar is not in a heightmap
* directory we are for sure not supposed to see it.
* Examples of this are pngs part of documentation within