From 0ca9423b8b2cf7bd1435fb09eba7a9f50d444864 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 19 Dec 2010 16:51:45 +0200 Subject: day/night working client side --- src/voxel.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/voxel.cpp') 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; -- cgit v1.2.3