Skip to content

Commit

Permalink
Doors: Trim open fencegate collison box again
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paramat committed Sep 23, 2016
1 parent 34c768d commit 3e05870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/doors/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ function doors.register_fencegate(name, def)
fence_open.collision_box = {
type = "fixed",
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)
Expand Down

0 comments on commit 3e05870

Please sign in to comment.