From 02c035c548787a589c2bb813112b080a638e2972 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 29 Mar 2012 00:28:48 +0300 Subject: Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed --- src/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map.h') 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 getDisplayedBlockArea(); -- cgit v1.2.3