Fix mirrored sign texture
authorPerttu Ahola <celeron55@gmail.com>
Wed, 28 Dec 2011 16:29:33 +0000 (18:29 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Wed, 28 Dec 2011 16:29:33 +0000 (18:29 +0200)
src/content_mapblock.cpp

index 8149d9f3492e64b30ee387b4407fa3128f95db1f..e8e4fd231680a486136449e07646538dcb8a4144 100644 (file)
@@ -722,14 +722,14 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
                        // Wall at X+ of node
                        video::S3DVertex vertices[4] =
                        {
-                               video::S3DVertex(BS/2-d,-BS/2,-BS/2, 0,0,0, c,
-                                               ap.x0(), ap.y1()),
-                               video::S3DVertex(BS/2-d,-BS/2,BS/2, 0,0,0, c,
-                                               ap.x1(), ap.y1()),
                                video::S3DVertex(BS/2-d,BS/2,BS/2, 0,0,0, c,
-                                               ap.x1(), ap.y0()),
-                               video::S3DVertex(BS/2-d,BS/2,-BS/2, 0,0,0, c,
                                                ap.x0(), ap.y0()),
+                               video::S3DVertex(BS/2-d,BS/2,-BS/2, 0,0,0, c,
+                                               ap.x1(), ap.y0()),
+                               video::S3DVertex(BS/2-d,-BS/2,-BS/2, 0,0,0, c,
+                                               ap.x1(), ap.y1()),
+                               video::S3DVertex(BS/2-d,-BS/2,BS/2, 0,0,0, c,
+                                               ap.x0(), ap.y1()),
                        };
 
                        v3s16 dir = unpackDir(n.param2);