summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-01-11 17:54:00 +0100
committerNovatux <nathanael.courant@laposte.net>2014-01-11 17:54:00 +0100
commit84b94eb19804484b689cec441e175628fd10335f (patch)
tree2f94c4bc1d9244160af36df8f6560f3c51c5056e /src/environment.h
parente21b29f4227581162490cc70aaf4009118544f97 (diff)
downloadminetest-84b94eb19804484b689cec441e175628fd10335f.tar.gz
minetest-84b94eb19804484b689cec441e175628fd10335f.tar.bz2
minetest-84b94eb19804484b689cec441e175628fd10335f.zip
Add forceloading
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h3
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:
/*