projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d886f34
)
Fix orient_flags to be optional.
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Thu, 7 Nov 2013 03:09:06 +0000
(22:09 -0500)
committer
kwolekr
<kwolekr@minetest.net>
Thu, 7 Nov 2013 03:23:00 +0000
(22:23 -0500)
builtin/misc_helpers.lua
patch
|
blob
|
history
diff --git
a/builtin/misc_helpers.lua
b/builtin/misc_helpers.lua
index d847db42c46687788d8cd7cd4afa76d8728106c3..c9bc59c3a99af273b982b67f56a9805fd5febb7d 100644
(file)
--- a/
builtin/misc_helpers.lua
+++ b/
builtin/misc_helpers.lua
@@
-212,6
+212,7
@@
if minetest then
local dirs2 = { 20, 23, 22, 21 }
function minetest.rotate_and_place(itemstack, placer, pointed_thing, infinitestacks, orient_flags)
+ orient_flags = orient_flags or {}
local node = minetest.get_node(pointed_thing.under)
if not minetest.registered_nodes[node.name]