mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 17:14:29 +02:00
ignore overbright lights
This commit is contained in:
@@ -1423,6 +1423,8 @@ namespace TR {
|
|||||||
|
|
||||||
for (int i = 0; i < lightsCount; i++) {
|
for (int i = 0; i < lightsCount; i++) {
|
||||||
Light &light = lights[i];
|
Light &light = lights[i];
|
||||||
|
if (light.intensity > 8192)
|
||||||
|
continue;
|
||||||
|
|
||||||
int dx = x - light.x;
|
int dx = x - light.x;
|
||||||
int dy = y - light.y;
|
int dy = y - light.y;
|
||||||
|
Reference in New Issue
Block a user