From a7b158fada356f886b5c4648a7bd5f8114dca717 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 10 Feb 2011 10:53:17 +0200 Subject: some texture stuff --- src/mapnode.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mapnode.cpp') diff --git a/src/mapnode.cpp b/src/mapnode.cpp index 653195ad4..06d1be8a3 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -103,6 +103,9 @@ void init_mapnode(IIrrlichtWrapper *irrlicht) i = CONTENT_GRASS_FOOTSTEPS; f = &g_content_features[i]; //f->setInventoryTexture(irrlicht->getTextureId("grass_footsteps.png")); + f->setAllTextures("mud.png^grass_side.png"); + f->setTexture(0, "grass_footsteps.png"); + f->setTexture(1, "mud.png"); f->param_type = CPT_MINERAL; f->is_ground_content = true; -- cgit v1.2.3