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:
0a16e53
)
Textures: Ignore unknown node in override.txt
author
SmallJoker
<mk939@ymail.com>
Sun, 17 Jul 2016 20:26:23 +0000
(22:26 +0200)
committer
paramat
<mat.gregory@virginmedia.com>
Fri, 7 Oct 2016 23:08:50 +0000
(
00:08
+0100)
src/nodedef.cpp
patch
|
blob
|
history
diff --git
a/src/nodedef.cpp
b/src/nodedef.cpp
index bfb2999bd33bf1bd57f6a8763ec1d0af9c6fd27d..fa2e621f20f2a1c93a0fa14e46e2c0bfc30152c5 100644
(file)
--- a/
src/nodedef.cpp
+++ b/
src/nodedef.cpp
@@
-1144,13
+1144,8
@@
void CNodeDefManager::applyTextureOverrides(const std::string &override_filepath
}
content_t id;
- if (!getId(splitted[0], id)) {
- infostream << override_filepath
- << ":" << line_c << " Could not apply texture override \""
- << line << "\": Unknown node \""
- << splitted[0] << "\"" << std::endl;
- continue;
- }
+ if (!getId(splitted[0], id))
+ continue; // Ignore unknown node
ContentFeatures &nodedef = m_content_features[id];