diff options
author | kwolekr <kwolekr@minetest.net> | 2015-08-15 14:03:36 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-08-16 15:55:07 -0400 |
commit | bcf38a2ad19116b50d0456bdd6f79d0d218e39d1 (patch) | |
tree | d56db4bc83c85d00a13dab8615c5661665b78922 /src/environment.h | |
parent | 5556ba168fb8bb3c234311564de36c4b130c8ab1 (diff) | |
download | minetest-bcf38a2ad19116b50d0456bdd6f79d0d218e39d1.tar.gz minetest-bcf38a2ad19116b50d0456bdd6f79d0d218e39d1.tar.bz2 minetest-bcf38a2ad19116b50d0456bdd6f79d0d218e39d1.zip |
SEnv: Remove static_exists from ActiveObjects in deleted blocks
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h index 2bc128f40..c70694316 100644 --- a/src/environment.h +++ b/src/environment.h @@ -327,6 +327,11 @@ public: std::set<v3s16>* getForceloadedBlocks() { return &m_active_blocks.m_forceloaded_list; }; + // Sets the static object status all the active objects in the specified block + // This is only really needed for deleting blocks from the map + void setStaticForActiveObjectsInBlock(v3s16 blockpos, + bool static_exists, v3s16 static_block=v3s16(0,0,0)); + private: /* |