1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Fix rail's selection box and tweak the logic that computes pointedthing.node_abovesurface -- you no longer can place torches above each other, or do similar placement with other nodes with non-full selection box.

This commit is contained in:
Kahrl 2012-02-07 03:05:15 +01:00
parent 6bf4931fc2
commit 34eabf4df0
2 changed files with 23 additions and 47 deletions

View file

@ -1296,7 +1296,7 @@ minetest.register_node("default:rail", {
walkable = false,
selection_box = {
type = "fixed",
--fixed = <default>
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
material = minetest.digprop_dirtlike(0.75),
})