Fix minetest.facedir_to_dir when param2 is 5 or 7.
authorNovatux <nathanael.courant@laposte.net>
Sun, 6 Oct 2013 10:15:14 +0000 (12:15 +0200)
committerproller <proller@github.com>
Wed, 16 Oct 2013 17:55:01 +0000 (21:55 +0400)
builtin/item.lua

index 5f3c71770ea355d226b4668027ab6445c0b6e565..f07566b8c7176fec91b8b7b1eb9190d163387dc9 100644 (file)
@@ -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,