aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index 92e4b59b3..ce1515fd2 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -536,8 +536,8 @@ content_t CNodeDefManager::getId(const std::string &name) const
}
-void CNodeDefManager::getIds(const std::string &name, std::set<content_t> &result)
- const
+void CNodeDefManager::getIds(const std::string &name,
+ std::set<content_t> &result) const
{
//TimeTaker t("getIds", NULL, PRECISION_MICRO);
if (name.substr(0,6) != "group:") {
@@ -768,6 +768,8 @@ void CNodeDefManager::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc
break;
case NDT_FIRELIKE:
f->backface_culling = false;
+ f->solidness = 0;
+ break;
case NDT_TORCHLIKE:
case NDT_SIGNLIKE:
case NDT_FENCELIKE: