aboutsummaryrefslogtreecommitdiff
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
parentacd7ce897d2ea30699ca83aa1304987b1eea7880 (diff)
downloadminetest-99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4.tar.gz
minetest-99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4.tar.bz2
minetest-99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4.zip
A very poor (but better than nothing) inventory icon for fences
-rw-r--r--data/item_fence.pngbin0 -> 1264 bytes
-rw-r--r--src/mapnode.cpp1
2 files changed, 1 insertions, 0 deletions
diff --git a/data/item_fence.png b/data/item_fence.png
new file mode 100644
index 000000000..76a461878
--- /dev/null
+++ b/data/item_fence.png
Binary files differ
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;