summaryrefslogtreecommitdiff
path: root/src/mods.h
diff options
context:
space:
mode:
authorceleron55 <celeron55@gmail.com>2013-01-23 10:10:25 -0800
committerceleron55 <celeron55@gmail.com>2013-01-23 10:10:25 -0800
commit0a27e81704241f856c387fa3f8c92d2773c14ef3 (patch)
treeb5ebc62c210f1ca10ea03711864899175e1724c6 /src/mods.h
parentc4af909ac844364124c092cd1d66a30ba1766303 (diff)
parentf0998612457ddc3027618e7e446ed968a14385e7 (diff)
downloadminetest-0a27e81704241f856c387fa3f8c92d2773c14ef3.tar.gz
minetest-0a27e81704241f856c387fa3f8c92d2773c14ef3.tar.bz2
minetest-0a27e81704241f856c387fa3f8c92d2773c14ef3.zip
Merge pull request #436 from doserj/mod_selection
Fix some crashes and improved behaviour for mod selection gui
Diffstat (limited to 'src/mods.h')
-rw-r--r--src/mods.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mods.h b/src/mods.h
index 37e2cd2db..59dffdade 100644
--- a/src/mods.h
+++ b/src/mods.h
@@ -53,6 +53,8 @@ struct ModSpec
//if normal mod:
std::set<std::string> depends;
std::set<std::string> unsatisfied_depends;
+
+ bool is_modpack;
// if modpack:
std::map<std::string,ModSpec> modpack_content;
ModSpec(const std::string name_="", const std::string path_="",
@@ -61,6 +63,7 @@ struct ModSpec
path(path_),
depends(depends_),
unsatisfied_depends(depends_),
+ is_modpack(false),
modpack_content()
{}
};