+ fence inventory icon
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Tue, 31 May 2011 00:56:41 +0000 (02:56 +0200)
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Tue, 31 May 2011 01:54:39 +0000 (03:54 +0200)
data/fence.png [new file with mode: 0644]
src/mapnode.cpp

diff --git a/data/fence.png b/data/fence.png
new file mode 100644 (file)
index 0000000..0b99f0e
Binary files /dev/null and b/data/fence.png differ
index 8ceeecfbab1ceb5ae524c7178f7496fa1a7272f0..cfb1a493fbd0d7e74f1bea9f2e216cec2e395511 100644 (file)
@@ -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;