Doors: Trim open fencegate collison box again

The collision box still extended into a neighbouring empty node, causing
falling node objects to collide but not transform back into normal nodes.
Completes the fix started in a previous similar commit.
This commit is contained in:
paramat 2016-09-22 13:46:12 +01:00
parent 34c768d394
commit 3e05870706

@ -696,7 +696,7 @@ function doors.register_fencegate(name, def)
fence_open.collision_box = { fence_open.collision_box = {
type = "fixed", type = "fixed",
fixed = {{-1/2, -1/2, -1/4, -3/8, 1/2, 1/4}, fixed = {{-1/2, -1/2, -1/4, -3/8, 1/2, 1/4},
{-5/8, -3/8, -1/2, -3/8, 3/8, 0}}, {-1/2, -3/8, -1/2, -3/8, 3/8, 0}},
} }
minetest.register_node(":" .. name .. "_closed", fence_closed) minetest.register_node(":" .. name .. "_closed", fence_closed)