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:
a39d536
)
Move unknown node message when applying texture overrides to infostream (#4218)
author
Yutao Yuan
<yyt16384@gmail.com>
Mon, 13 Jun 2016 22:29:15 +0000
(06:29 +0800)
committer
est31
<est31@users.noreply.github.com>
Mon, 13 Jun 2016 22:29:15 +0000
(
00:29
+0200)
Texture packs have no way to know what nodes are available, so this shouldn't be a error message.
src/nodedef.cpp
patch
|
blob
|
history
diff --git
a/src/nodedef.cpp
b/src/nodedef.cpp
index 1691289c2cc7efe341f8469a7355a2776237234d..764203efcf4ee9c65119a059e88dc649ce1d16fd 100644
(file)
--- a/
src/nodedef.cpp
+++ b/
src/nodedef.cpp
@@
-1107,7
+1107,7
@@
void CNodeDefManager::applyTextureOverrides(const std::string &override_filepath
content_t id;
if (!getId(splitted[0], id)) {
-
error
stream << override_filepath
+
info
stream << override_filepath
<< ":" << line_c << " Could not apply texture override \""
<< line << "\": Unknown node \""
<< splitted[0] << "\"" << std::endl;