From: Perttu Ahola Date: Sun, 26 Jun 2011 16:23:05 +0000 (+0300) Subject: changed one "if" to "else if" in content_mapblock.cpp X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=97840e93b550f4436620f941dc088bb956ce13c8;p=zefram%2Fminetest%2Fminetest_engine.git changed one "if" to "else if" in content_mapblock.cpp --- diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index bc701aad..bdc9baa2 100644 --- a/src/content_mapblock.cpp +++ b/src/content_mapblock.cpp @@ -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);