From bcf38a2ad19116b50d0456bdd6f79d0d218e39d1 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 15 Aug 2015 14:03:36 -0400 Subject: SEnv: Remove static_exists from ActiveObjects in deleted blocks --- src/environment.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/environment.h') 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* 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: /* -- cgit v1.2.3