diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-29 00:28:48 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-29 00:28:48 +0300 |
commit | 02c035c548787a589c2bb813112b080a638e2972 (patch) | |
tree | 66ae02a8c29b5396bc86392e004c39ccc671b434 /src/map.h | |
parent | 418041d9067319431e4b6301851da117d2f4075b (diff) | |
download | minetest-02c035c548787a589c2bb813112b080a638e2972.tar.gz minetest-02c035c548787a589c2bb813112b080a638e2972.tar.bz2 minetest-02c035c548787a589c2bb813112b080a638e2972.zip |
Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 2 |
1 files changed, 1 insertions, 1 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(); |