1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-16 22:35:07 -05:00

changed one "if" to "else if" in content_mapblock.cpp

This commit is contained in:
Perttu Ahola 2011-06-26 19:23:05 +03:00
parent d3d369a63b
commit 97840e93b5

View File

@ -262,7 +262,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
/* /*
Signs on walls 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)); u8 l = decode_light(n.getLightBlend(data->m_daynight_ratio));
video::SColor c(255,l,l,l); video::SColor c(255,l,l,l);