fullbright(when smoothlighting disabled)
parent
8c642dfdc7
commit
d3289c1e17
|
@ -104,7 +104,7 @@ static u8 getInteriorLight(enum LightBank bank, MapNode n, s32 increment,
|
||||||
u8 light = n.getLight(bank, ndef);
|
u8 light = n.getLight(bank, ndef);
|
||||||
if (light > 0)
|
if (light > 0)
|
||||||
light = rangelim(light + increment, 0, LIGHT_SUN);
|
light = rangelim(light + increment, 0, LIGHT_SUN);
|
||||||
return decode_light(light);
|
return 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -139,7 +139,7 @@ static u8 getFaceLight(enum LightBank bank, MapNode n, MapNode n2,
|
||||||
if(light_source > light)
|
if(light_source > light)
|
||||||
light = light_source;
|
light = light_source;
|
||||||
|
|
||||||
return decode_light(light);
|
return 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue