summaryrefslogtreecommitdiff
path: root/src/voxel.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-19 16:51:45 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-19 16:51:45 +0200
commit0ca9423b8b2cf7bd1435fb09eba7a9f50d444864 (patch)
treeea49a7bae71b4e89f51797356fd0d34c35497e74 /src/voxel.cpp
parent240499dc2c766c9d022e6df71e770a116a2c95de (diff)
downloadminetest-0ca9423b8b2cf7bd1435fb09eba7a9f50d444864.tar.gz
minetest-0ca9423b8b2cf7bd1435fb09eba7a9f50d444864.tar.bz2
minetest-0ca9423b8b2cf7bd1435fb09eba7a9f50d444864.zip
day/night working client side
Diffstat (limited to 'src/voxel.cpp')
-rw-r--r--src/voxel.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/voxel.cpp b/src/voxel.cpp
index e94cba0f6..f8a98942c 100644
--- a/src/voxel.cpp
+++ b/src/voxel.cpp
@@ -741,11 +741,6 @@ bool VoxelManipulator::flowWater(v3s16 removed_pos,
m_data[m_area.index(removed_pos)].setLightBanks(light);
- /*// NOTE: HACK: This has to be set to LIGHT_MAX so that
- // unspreadLight will clear all light that came from this node.
- // Otherwise there will be weird bugs
- m_data[m_area.index(removed_pos)].setLight(LIGHT_MAX);*/
-
// Mark removed_pos checked
m_flags[m_area.index(removed_pos)] |= VOXELFLAG_CHECKED;