From: Perttu Ahola Date: Thu, 1 Dec 2011 12:12:47 +0000 (+0200) Subject: Make non-fancy leaf texture to go in texture atlas too X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=cb589b1f997a3017908ed6b9b1b641732b303de8;p=zefram%2Fminetest%2Fminetest_engine.git Make non-fancy leaf texture to go in texture atlas too --- diff --git a/src/nodedef.cpp b/src/nodedef.cpp index f8420c22..a52a1bbd 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -532,8 +532,8 @@ public: f->drawtype = NDT_NORMAL; f->solidness = 1; for(u32 i=0; i<6; i++){ - f->tname_tiles[i] = f->tname_tiles[i] - + std::string("^[noalpha"); + f->setTexture(i, f->tname_tiles[i] + + std::string("^[noalpha")); } } break;