1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

Make rails selectable.

Rails weren't selectable, and couldn't be removed from a map asides from
using worldedit (or maybe sand)
This commit is contained in:
user 2012-06-20 04:33:26 +00:00
parent 274f280e10
commit 537344bc62

View File

@ -939,7 +939,8 @@ minetest.register_node("default:rail", {
walkable = false,
selection_box = {
type = "fixed",
--fixed = <default>
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
groups = {bendy=2,snappy=1,dig_immediate=2},
})