diff options
author | Ciaran Gultnieks <ciaran@ciarang.com> | 2011-05-24 23:18:41 +0100 |
---|---|---|
committer | Ciaran Gultnieks <ciaran@ciarang.com> | 2011-05-24 23:18:41 +0100 |
commit | 99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4 (patch) | |
tree | 812533c3e16b388e8a5d287ae60ded0dfed67f2a | |
parent | acd7ce897d2ea30699ca83aa1304987b1eea7880 (diff) | |
download | minetest-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.png | bin | 0 -> 1264 bytes | |||
-rw-r--r-- | src/mapnode.cpp | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/data/item_fence.png b/data/item_fence.png Binary files differnew file mode 100644 index 000000000..76a461878 --- /dev/null +++ b/data/item_fence.png 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; |