summaryrefslogtreecommitdiff
path: root/src/content_mapblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_mapblock.cpp')
-rw-r--r--src/content_mapblock.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp
index e0a9b60f9..368e6c611 100644
--- a/src/content_mapblock.cpp
+++ b/src/content_mapblock.cpp
@@ -234,6 +234,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
MapNode n = data->m_vmanip.getNodeNoEx(blockpos_nodes+p);
+ // Only solidness=0 stuff is drawn here
+ if(nodedef->get(n).solidness != 0)
+ continue;
+
/*
Add torches to mesh
*/