changed one "if" to "else if" in content_mapblock.cpp
authorPerttu Ahola <celeron55@gmail.com>
Sun, 26 Jun 2011 16:23:05 +0000 (19:23 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 26 Jun 2011 16:23:05 +0000 (19:23 +0300)
src/content_mapblock.cpp

index bc701aadf4c32927cd83372daaaf7072a104c736..bdc9baa2aac09767ecc497a280e05e81c02c202a 100644 (file)
@@ -262,7 +262,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
                /*
                        Signs on walls
                */
-               if(n.d == CONTENT_SIGN_WALL)
+               else if(n.d == CONTENT_SIGN_WALL)
                {
                        u8 l = decode_light(n.getLightBlend(data->m_daynight_ratio));
                        video::SColor c(255,l,l,l);