aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-10-06 12:15:14 +0200
committerproller <proller@github.com>2013-10-16 21:55:01 +0400
commit4e5760a5416cbca6945b1b4484cbd96bea7b250c (patch)
tree5d67af4c96b0db81a295a366b66765608dacf1e3
parent19742d8d985dbb0a63a406c881617da7aed50151 (diff)
downloadminetest-4e5760a5416cbca6945b1b4484cbd96bea7b250c.tar.gz
minetest-4e5760a5416cbca6945b1b4484cbd96bea7b250c.tar.bz2
minetest-4e5760a5416cbca6945b1b4484cbd96bea7b250c.zip
Fix minetest.facedir_to_dir when param2 is 5 or 7.
-rw-r--r--builtin/item.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/item.lua b/builtin/item.lua
index 5f3c71770..f07566b8c 100644
--- a/builtin/item.lua
+++ b/builtin/item.lua
@@ -98,7 +98,7 @@ function minetest.facedir_to_dir(facedir)
--indexed into by a table of correlating facedirs
[({[0]=1, 2, 3, 4,
- 5, 2, 6, 4,
+ 5, 4, 6, 2,
6, 2, 5, 4,
1, 5, 3, 6,
1, 6, 3, 5,