From: Ciaran Gultnieks Date: Tue, 24 May 2011 22:18:41 +0000 (+0100) Subject: A very poor (but better than nothing) inventory icon for fences X-Git-Tag: 0.2.20110731_3~173 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4;p=oweals%2Fminetest.git A very poor (but better than nothing) inventory icon for fences --- diff --git a/data/item_fence.png b/data/item_fence.png new file mode 100644 index 000000000..76a461878 Binary files /dev/null and b/data/item_fence.png 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;