summaryrefslogtreecommitdiff
path: root/src/content_mapblock.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 15:46:52 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:44 +0200
commit89e7bacd991060fe6cdada6bf8112f9f20c3e310 (patch)
tree7493cb0a0b94f39110bd10af36d5bfcd0e679767 /src/content_mapblock.cpp
parentff34955a0dcd4eefa522056eea3e4530fc475732 (diff)
downloadminetest-89e7bacd991060fe6cdada6bf8112f9f20c3e310.tar.gz
minetest-89e7bacd991060fe6cdada6bf8112f9f20c3e310.tar.bz2
minetest-89e7bacd991060fe6cdada6bf8112f9f20c3e310.zip
Clean more
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
*/