diff options
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: /* |