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-Tag: 0.4.dev-20111202-1~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb589b1f997a3017908ed6b9b1b641732b303de8;p=oweals%2Fminetest.git Make non-fancy leaf texture to go in texture atlas too --- diff --git a/src/nodedef.cpp b/src/nodedef.cpp index f8420c22c..a52a1bbd4 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;