mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-27 03:15:29 +01:00
Minor code improvements around active block keeping
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user