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