From: user Date: Wed, 20 Jun 2012 04:33:26 +0000 (+0000) Subject: Make rails selectable. X-Git-Tag: 0.4.0~2^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F2%2Fhead;p=oweals%2Fminetest_game.git Make rails selectable. Rails weren't selectable, and couldn't be removed from a map asides from using worldedit (or maybe sand) --- diff --git a/mods/default/init.lua b/mods/default/init.lua index 58d39771..5eb1584b 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -939,7 +939,8 @@ minetest.register_node("default:rail", { walkable = false, selection_box = { type = "fixed", - --fixed = + -- 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}, })