From: Novatux Date: Sun, 6 Oct 2013 10:15:14 +0000 (+0200) Subject: Fix minetest.facedir_to_dir when param2 is 5 or 7. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=4e5760a5416cbca6945b1b4484cbd96bea7b250c;p=zefram%2Fminetest%2Fminetest_engine.git Fix minetest.facedir_to_dir when param2 is 5 or 7. --- diff --git a/builtin/item.lua b/builtin/item.lua index 5f3c7177..f07566b8 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,