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-Tag: 0.2.20110731_3~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97840e93b550f4436620f941dc088bb956ce13c8;p=oweals%2Fminetest.git changed one "if" to "else if" in content_mapblock.cpp --- diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index bc701aadf..bdc9baa2a 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);