aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-03-30 21:24:37 -0400
committerkwolekr <kwolekr@minetest.net>2013-03-30 21:24:37 -0400
commitc517215bcf3c92ccef1690ad871a234e547c8435 (patch)
tree9aee34f62b843fc61aae545e39bfa13aff517139 /src/nodedef.cpp
parent414f0275cfa014423394cc9c37ecb0151c3bd46c (diff)
downloadhax-minetest-server-c517215bcf3c92ccef1690ad871a234e547c8435.tar.gz
hax-minetest-server-c517215bcf3c92ccef1690ad871a234e547c8435.zip
Fix MapgenV6::generateCaves possible division by 0 and misc. cosmetic fixes
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index 59db68a36..ca8898907 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -822,6 +822,7 @@ private:
std::map<std::string, content_t> m_name_id_mapping_with_aliases;
// A mapping from groups to a list of content_ts (and their levels)
// that belong to it. Necessary for a direct lookup in getIds().
+ // Note: Not serialized.
std::map<std::string, GroupItems> m_group_to_items;
};