projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274f280
)
Make rails selectable.
2/head
author
user
<nobody>
Wed, 20 Jun 2012 04:33:26 +0000
(
04:33
+0000)
committer
user
<nobody>
Wed, 20 Jun 2012 04:33:26 +0000
(
04:33
+0000)
Rails weren't selectable, and couldn't be removed from a map asides from
using worldedit (or maybe sand)
mods/default/init.lua
patch
|
blob
|
history
diff --git
a/mods/default/init.lua
b/mods/default/init.lua
index 58d39771afb33871336e5e1753271aefe76f0823..5eb1584b7d738690b4ebd4b5cce60cb71710d23b 100644
(file)
--- 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 = <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},
})