projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff740a4
)
Fix typo in WieldMesh::setItem()
author
kwolekr
<kwolekr@minetest.net>
Sat, 9 May 2015 03:30:56 +0000
(23:30 -0400)
committer
kwolekr
<kwolekr@minetest.net>
Sat, 9 May 2015 03:30:56 +0000
(23:30 -0400)
src/wieldmesh.cpp
patch
|
blob
|
history
diff --git
a/src/wieldmesh.cpp
b/src/wieldmesh.cpp
index f12771968246af20127c2ea92f96dc3379d7c20f..036b25a907b850b7ab8a85f69562fb1bcd4ec234 100644
(file)
--- a/
src/wieldmesh.cpp
+++ b/
src/wieldmesh.cpp
@@
-358,7
+358,7
@@
void WieldMeshSceneNode::setItem(const ItemStack &item, IGameDef *gamedef)
/ (BS * f.visual_scale));
}
u32 material_count = m_meshnode->getMaterialCount();
- if (material_count >
=
6) {
+ if (material_count > 6) {
errorstream << "WieldMeshSceneNode::setItem: Invalid material "
"count " << material_count << ", truncating to 6" << std::endl;
material_count = 6;