1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Minor code improvements around active block keeping

This commit is contained in:
sfan5 2022-05-26 22:22:48 +02:00
parent ea74680df4
commit c1d03695d4
2 changed files with 17 additions and 9 deletions

View file

@ -180,8 +180,14 @@ public:
m_list.clear();
}
void remove(v3s16 p) {
m_list.erase(p);
m_abm_list.erase(p);
}
std::set<v3s16> m_list;
std::set<v3s16> m_abm_list;
// list of blocks that are always active, not modified by this class
std::set<v3s16> m_forceloaded_list;
};