"or" -> "||" in content_mapblock.cpp
authorPerttu Ahola <celeron55@gmail.com>
Sun, 18 Mar 2012 14:07:17 +0000 (16:07 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 18 Mar 2012 14:07:17 +0000 (16:07 +0200)
src/content_mapblock.cpp

index 9a427a44ee1385403561e13e6b4e5f74ac85e49b..d41aac81bf1250943ac4d91bdcccb641c0d3412e 100644 (file)
@@ -922,7 +922,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
 
                        if(adjacencies == 1)
                        {
-                               if(is_rail_x_all[0] or is_rail_x_all[1])
+                               if(is_rail_x_all[0] || is_rail_x_all[1])
                                        angle = 90;
                        }
                        if(adjacencies == 2)