From: paramat Date: Thu, 22 Sep 2016 12:46:12 +0000 (+0100) Subject: Doors: Trim open fencegate collison box again X-Git-Tag: 0.4.15~90 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3e05870706c688ce3d162e80eb78a6a404f9f128;p=oweals%2Fminetest_game.git 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. --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index ed7fbb34..73a73a13 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -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)