Fix doors disappearing while underwater

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.
This commit is contained in:
tenplus1 2016-04-01 11:34:28 +01:00 committed by paramat
parent 874b1ae326
commit e38f69d549

View File

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