mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Do not emerge blocks in the active_object_send_range_blocks range (#14152)
The active object range is about active objects (not blocks). Activate blocks (and hence any object "in" them) in the cone define by the active object range (and fov) when they are loaded (i.e. visible), otherwise ignore them.
This commit is contained in:
@@ -168,7 +168,8 @@ public:
|
||||
s16 active_block_range,
|
||||
s16 active_object_range,
|
||||
std::set<v3s16> &blocks_removed,
|
||||
std::set<v3s16> &blocks_added);
|
||||
std::set<v3s16> &blocks_added,
|
||||
std::set<v3s16> &extra_blocks_added);
|
||||
|
||||
bool contains(v3s16 p) const {
|
||||
return (m_list.find(p) != m_list.end());
|
||||
|
Reference in New Issue
Block a user