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-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=68a9157b947f9d282384164d678dceb6d1fec9ec;p=zefram%2Fminetest%2Fminetest_engine.git Fixed issue #15: Glass blocks a lot of light --- diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index 146b806e..db036ebd 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";