From: paramat Date: Wed, 3 Aug 2016 00:35:20 +0000 (+0100) Subject: Doors: Trim open fence gate collision box X-Git-Tag: 0.4.15~118 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=265c40b5584661bd51087dcf755195c8ef11a4a4;p=oweals%2Fminetest_game.git Doors: Trim open fence gate collision box Previously, the collision box extended into an empty node, causing falling node objects to land on the open gate but not transform back into normal nodes. Now fallng node objects will fall through and either side of the end of the open gate and transform back. --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 88849652..3e67ef44 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -706,7 +706,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, -14/16, -3/8, 3/8, 0}}, + {-5/8, -3/8, -1/2, -3/8, 3/8, 0}}, } minetest.register_node(":" .. name .. "_closed", fence_closed)