mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix MapgenV6::generateCaves possible division by 0 and misc. cosmetic fixes
This commit is contained in:
parent
414f0275cf
commit
c517215bcf
3 changed files with 23 additions and 16 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue