mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add forceloading
This commit is contained in:
parent
e21b29f422
commit
84b94eb198
9 changed files with 136 additions and 1 deletions
|
@ -170,6 +170,7 @@ public:
|
|||
}
|
||||
|
||||
std::set<v3s16> m_list;
|
||||
std::set<v3s16> m_forceloaded_list;
|
||||
|
||||
private:
|
||||
};
|
||||
|
@ -305,6 +306,8 @@ public:
|
|||
// is weather active in this environment?
|
||||
bool m_use_weather;
|
||||
|
||||
std::set<v3s16>* getForceloadedBlocks() { return &m_active_blocks.m_forceloaded_list; };
|
||||
|
||||
private:
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue