summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-29 00:28:48 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-29 00:28:48 +0300
commit02c035c548787a589c2bb813112b080a638e2972 (patch)
tree66ae02a8c29b5396bc86392e004c39ccc671b434 /src/map.h
parent418041d9067319431e4b6301851da117d2f4075b (diff)
downloadminetest-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index b71f699c0..b84e123e4 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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();