Nodedef: Restore smooth lighting to water
authorparamat <mat.gregory@virginmedia.com>
Fri, 26 Feb 2016 22:30:50 +0000 (22:30 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sat, 27 Feb 2016 21:27:42 +0000 (21:27 +0000)
src/nodedef.cpp

index 6d740fac339eb9276b3a3210412527d65c5a2b58..1dd5aa537af1a5d6123727d3da22eff1f12bcf1d 100644 (file)
@@ -853,7 +853,7 @@ void CNodeDefManager::updateTextures(IGameDef *gamedef,
                        assert(f->liquid_type == LIQUID_SOURCE);
                        if (opaque_water)
                                f->alpha = 255;
-                       f->solidness = 0;
+                       f->solidness = 1;
                        is_liquid = true;
                        break;
                case NDT_FLOWINGLIQUID: