From: Perttu Ahola Date: Sat, 23 Jul 2011 17:28:05 +0000 (+0300) Subject: Fixed issue #15: Glass blocks a lot of light X-Git-Tag: 0.2.20110731_3~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=68a9157b947f9d282384164d678dceb6d1fec9ec;p=oweals%2Fminetest.git Fixed issue #15: Glass blocks a lot of light --- diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index 146b806ef..db036ebd9 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -272,6 +272,7 @@ void content_mapnode_init() i = CONTENT_GLASS; f = &content_features(i); f->light_propagates = true; + f->sunlight_propagates = true; f->param_type = CPT_LIGHT; f->is_ground_content = true; f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";