summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/mapdb.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/resources/mapdb.cpp b/src/resources/mapdb.cpp
index d27d2f8ba..9dbf17949 100644
--- a/src/resources/mapdb.cpp
+++ b/src/resources/mapdb.cpp
@@ -115,6 +115,15 @@ void MapDB::readAtlas(XmlNodePtr node)
mAtlases[atlas].push_back(file);
}
}
+ if (atlas != "all")
+ {
+ const AtlasCIter &allAtlas = mAtlases.find("all");
+ if (allAtlas != mAtlases.end())
+ {
+ FOR_EACH (StringVectCIter, it, (*allAtlas).second)
+ mAtlases[atlas].push_back(*it);
+ }
+ }
}
void MapDB::loadInfo()