1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Merged CiaranG's fence and fixed two things

This commit is contained in:
Perttu Ahola 2011-05-24 20:13:21 +03:00
commit 12ca835e14
7 changed files with 198 additions and 20 deletions

View file

@ -216,6 +216,14 @@ void init_mapnode()
f->solidness = 0; // drawn separately, makes no faces
f->setInventoryTextureCube("glass.png", "glass.png", "glass.png");
i = CONTENT_FENCE;
f = &g_content_features[i];
f->light_propagates = true;
f->param_type = CPT_LIGHT;
f->is_ground_content = true;
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
f->solidness = 0; // drawn separately, makes no faces
f->air_equivalent = true; // grass grows underneath
// Deprecated
i = CONTENT_COALSTONE;