Make rails selectable.

Rails weren't selectable, and couldn't be removed from a map asides from
using worldedit (or maybe sand)
master
user 2012-06-20 04:33:26 +00:00
parent 274f280e10
commit 537344bc62
1 changed files with 2 additions and 1 deletions

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},
})