changed one "if" to "else if" in content_mapblock.cpp
This commit is contained in:
parent
d3d369a63b
commit
97840e93b5
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue