aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-05-31 02:56:41 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-05-31 03:54:39 +0200
commit6c3ca42e0e0096c481aa09da3c78be1901920899 (patch)
tree0089643ad63717d782d3b44d2b8ddb7a0addf9a7
parent0f4c83eb986dd48bf3745266d7cbdb9a4bf19507 (diff)
downloadminetest-6c3ca42e0e0096c481aa09da3c78be1901920899.tar.gz
minetest-6c3ca42e0e0096c481aa09da3c78be1901920899.tar.bz2
minetest-6c3ca42e0e0096c481aa09da3c78be1901920899.zip
+ fence inventory icon
-rw-r--r--data/fence.pngbin0 -> 539 bytes
-rw-r--r--src/mapnode.cpp1
2 files changed, 1 insertions, 0 deletions
diff --git a/data/fence.png b/data/fence.png
new file mode 100644
index 000000000..0b99f0eb5
--- /dev/null
+++ b/data/fence.png
Binary files differ
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index 8ceeecfba..cfb1a493f 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -236,6 +236,7 @@ void init_mapnode()
i = CONTENT_FENCE;
f = &g_content_features[i];
+ f->setInventoryTexture("fence.png");
f->light_propagates = true;
f->param_type = CPT_LIGHT;
f->is_ground_content = true;