mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
SEnv: Remove static_exists from ActiveObjects in deleted blocks
This commit is contained in:
parent
5556ba168f
commit
bcf38a2ad1
3 changed files with 36 additions and 3 deletions
|
@ -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:
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue