Skip to content
Snippets Groups Projects
Commit 68a9157b authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Fixed issue #15: Glass blocks a lot of light

parent 26582e0e
No related branches found
No related tags found
No related merge requests found
...@@ -272,6 +272,7 @@ void content_mapnode_init() ...@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment