projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e3eef
)
Make non-fancy leaf texture to go in texture atlas too
author
Perttu Ahola
<celeron55@gmail.com>
Thu, 1 Dec 2011 12:12:47 +0000
(14:12 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Thu, 1 Dec 2011 12:12:47 +0000
(14:12 +0200)
src/nodedef.cpp
patch
|
blob
|
history
diff --git
a/src/nodedef.cpp
b/src/nodedef.cpp
index f8420c22c2b641cb457790eb9954fa48ed25f2a8..a52a1bbd42d5fdc5598c0743f8adf89adb8e2451 100644
(file)
--- 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;