1
0
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:
XProger 2019-02-15 22:13:36 +03:00
parent 60b2e89d43
commit 5c600aafca

View File

@ -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;