From a176f9eb36033196040443991a0723c39886b8a2 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 15 Jan 2011 13:50:13 +0200 Subject: generate-time lighting optimization --- src/mapblock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mapblock.h') diff --git a/src/mapblock.h b/src/mapblock.h index 743dad927..b3fa76bb7 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -312,7 +312,8 @@ public: #endif // !SERVER // See comments in mapblock.cpp - bool propagateSunlight(core::map & light_sources); + bool propagateSunlight(core::map & light_sources, + bool remove_light=false, bool *black_air_left=NULL); // Copies data to VoxelManipulator to getPosRelative() void copyTo(VoxelManipulator &dst); -- cgit v1.2.3