mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Limit force shadow update to urgent blocks (#12692)
This commit is contained in:
parent
2690585e99
commit
aa2fdc6ef6
3 changed files with 7 additions and 1 deletions
|
@ -45,6 +45,7 @@ struct QueuedMeshUpdate
|
|||
int crack_level = -1;
|
||||
v3s16 crack_pos;
|
||||
MeshMakeData *data = nullptr; // This is generated in MeshUpdateQueue::pop()
|
||||
bool urgent = false;
|
||||
|
||||
QueuedMeshUpdate() = default;
|
||||
~QueuedMeshUpdate();
|
||||
|
@ -105,6 +106,7 @@ struct MeshUpdateResult
|
|||
v3s16 p = v3s16(-1338, -1338, -1338);
|
||||
MapBlockMesh *mesh = nullptr;
|
||||
bool ack_block_to_server = false;
|
||||
bool urgent = false;
|
||||
|
||||
MeshUpdateResult() = default;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue