diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-01-11 17:54:00 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-01-11 17:54:00 +0100 |
commit | 84b94eb19804484b689cec441e175628fd10335f (patch) | |
tree | 2f94c4bc1d9244160af36df8f6560f3c51c5056e /src/environment.h | |
parent | e21b29f4227581162490cc70aaf4009118544f97 (diff) | |
download | hax-minetest-server-84b94eb19804484b689cec441e175628fd10335f.tar.gz hax-minetest-server-84b94eb19804484b689cec441e175628fd10335f.zip |
Add forceloading
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h index d9804e781..e439b2ef5 100644 --- a/src/environment.h +++ b/src/environment.h @@ -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: /* |