From 97840e93b550f4436620f941dc088bb956ce13c8 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 26 Jun 2011 19:23:05 +0300 Subject: changed one "if" to "else if" in content_mapblock.cpp --- src/content_mapblock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/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); -- cgit v1.2.3