aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-01 14:12:47 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-01 14:12:47 +0200
commitcb589b1f997a3017908ed6b9b1b641732b303de8 (patch)
treeb069205c22637584656bc442566714ec399b5c95 /src
parente6e3eef0ef0873b5853b6d055cea0f2b812c65c8 (diff)
downloadminetest-cb589b1f997a3017908ed6b9b1b641732b303de8.tar.gz
minetest-cb589b1f997a3017908ed6b9b1b641732b303de8.tar.bz2
minetest-cb589b1f997a3017908ed6b9b1b641732b303de8.zip
Make non-fancy leaf texture to go in texture atlas too
Diffstat (limited to 'src')
-rw-r--r--src/nodedef.cpp4
1 files 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;