mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add forceloading
This commit is contained in:
@@ -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:
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user