(svn r23216) -Codechange: introduce the concept of having different tar lists
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user