mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-29 18:16:27 -04:00
Make gate width same as fences
This commit is contained in:
parent
c2c918988e
commit
3829c6542f
1 changed files with 2 additions and 2 deletions
|
@ -769,7 +769,7 @@ function doors.register_fencegate(name, def)
|
|||
fence_closed.sound = "doors_fencegate_open"
|
||||
fence_closed.collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, -1/2, -1/4, 1/2, 1/2 + fence_collision_extra, 1/4},
|
||||
fixed = {-1/2, -1/2, -1/8, 1/2, 1/2 + fence_collision_extra, 1/8},
|
||||
}
|
||||
|
||||
local fence_open = table.copy(fence)
|
||||
|
@ -779,7 +779,7 @@ function doors.register_fencegate(name, def)
|
|||
fence_open.groups.not_in_creative_inventory = 1
|
||||
fence_open.collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {{-1/2, -1/2, -1/4, -3/8, 1/2 + fence_collision_extra, 1/4},
|
||||
fixed = {{-1/2, -1/2, -1/8, -3/8, 1/2 + fence_collision_extra, 1/8},
|
||||
{-1/2, -3/8, -1/2, -3/8, 3/8, 0}},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue