From 160294ff22a2b30fc75be1977117eac6910bdd82 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 14 Nov 2011 21:28:43 +0000 Subject: (svn r23216) -Codechange: introduce the concept of having different tar lists --- src/fios.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fios.cpp') 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 -- cgit v1.2.3-54-g00ecf