mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed
This commit is contained in:
parent
418041d906
commit
02c035c548
5 changed files with 47 additions and 20 deletions
|
@ -226,7 +226,7 @@ public:
|
|||
/*
|
||||
Takes the blocks at the edges into account
|
||||
*/
|
||||
bool dayNightDiffed(v3s16 blockpos);
|
||||
bool getDayNightDiff(v3s16 blockpos);
|
||||
|
||||
//core::aabbox3d<s16> getDisplayedBlockArea();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue