fullbright(when smoothlighting disabled)

master
zmv7 2022-08-09 17:21:10 +05:00 committed by GitHub
parent 8c642dfdc7
commit d3289c1e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ static u8 getInteriorLight(enum LightBank bank, MapNode n, s32 increment,
u8 light = n.getLight(bank, ndef);
if (light > 0)
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)
light = light_source;
return decode_light(light);
return 255;
}
/*