Fixed issue #15: Glass blocks a lot of light

This commit is contained in:
Perttu Ahola 2011-07-23 20:28:05 +03:00
parent 26582e0e66
commit 68a9157b94

@ -272,6 +272,7 @@ void content_mapnode_init()
i = CONTENT_GLASS; i = CONTENT_GLASS;
f = &content_features(i); f = &content_features(i);
f->light_propagates = true; f->light_propagates = true;
f->sunlight_propagates = true;
f->param_type = CPT_LIGHT; f->param_type = CPT_LIGHT;
f->is_ground_content = true; f->is_ground_content = true;
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";