1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Reduced per-lantern intensity of light halo

This commit is contained in:
Jeroen D Stout
2016-06-02 02:26:59 +02:00
parent d038576427
commit 198bb2fb57

View File

@@ -66,7 +66,7 @@ uint8 calc_light_intensity_lantern(sint32 x, sint32 y) {
double light = 0.09 + pow(10.0 / (1.0 + distance / 100.0), 0.55);
light *= min(1.0, max(0.0f, 2.0 - sqrt(distance) / 64));
light *= 0.25f;
light *= 0.15f;
return (uint8)(min(255.0, light * 255.0));
}