aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCiaran Gultnieks <ciaran@ciarang.com>2011-05-24 23:18:41 +0100
committerCiaran Gultnieks <ciaran@ciarang.com>2011-05-24 23:18:41 +0100
commit99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4 (patch)
tree812533c3e16b388e8a5d287ae60ded0dfed67f2a /src
parentacd7ce897d2ea30699ca83aa1304987b1eea7880 (diff)
downloadminetest-99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4.tar.gz
minetest-99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4.tar.bz2
minetest-99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4.zip
A very poor (but better than nothing) inventory icon for fences
Diffstat (limited to 'src')
-rw-r--r--src/mapnode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index ca36697ef..9a8a09a15 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -224,6 +224,7 @@ void init_mapnode()
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
f->solidness = 0; // drawn separately, makes no faces
f->air_equivalent = true; // grass grows underneath
+ f->setInventoryTexture("item_fence.png");
// Deprecated
i = CONTENT_COALSTONE;