(svn r23216) -Codechange: introduce the concept of having different tar lists

This commit is contained in:
rubidium
2011-11-14 21:28:43 +00:00
parent 1cd3dac854
commit 9bf2cb0e86
7 changed files with 61 additions and 48 deletions

View File

@@ -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