Fix doors disappearing while underwater
authortenplus1 <tenplus1@users.noreply.github.com>
Fri, 1 Apr 2016 10:34:28 +0000 (11:34 +0100)
committerparamat <mat.gregory@virginmedia.com>
Mon, 4 Apr 2016 04:39:16 +0000 (05:39 +0100)
Currently any doors viewed from underwater will disappear but removing the line 'use_texture_alpha = true,' seems to fix this.  Thanks to Thomas-S for finding this glitch.

mods/doors/init.lua

index 2b129aa2c73c4c20f150472249d30939736a3167..9e0999394372266ca21fd97d17bcfa73682531f5 100644 (file)
@@ -394,7 +394,6 @@ function doors.register(name, def)
                paramtype = "light",
                paramtype2 = "facedir",
                sunlight_propagates = true,
-               use_texture_alpha = true,
                walkable = true,
                is_ground_content = false,
                buildable_to = false,
@@ -427,7 +426,6 @@ function doors.register(name, def)
                paramtype = "light",
                paramtype2 = "facedir",
                sunlight_propagates = true,
-               use_texture_alpha = true,
                walkable = true,
                is_ground_content = false,
                buildable_to = false,