From cb589b1f997a3017908ed6b9b1b641732b303de8 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 1 Dec 2011 14:12:47 +0200 Subject: [PATCH] Make non-fancy leaf texture to go in texture atlas too --- src/nodedef.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.25.1