mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
ignore overbright lights
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user