diff options
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r-- | src/content_mapnode.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index eb7ca6689..d9b5d6e26 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -375,6 +375,9 @@ void content_mapnode_init(ITextureSource *tsrc, IWritableNodeDefManager *nodemgr f->air_equivalent = true; // grass grows underneath f->setInventoryTexture("fence.png", tsrc); f->used_texturenames.insert("fence.png"); // Add to atlas + f->selection_box.type = NODEBOX_FIXED; + f->selection_box.fixed = core::aabbox3d<f32>( + -BS/7, -BS/2, -BS/7, BS/7, BS/2, BS/7); setWoodLikeMaterialProperties(f->material, 0.75); i = CONTENT_RAIL; |