mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-05 08:55:01 -05:00
Fixed issue #15: Glass blocks a lot of light
This commit is contained in:
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user