Small lighting perf tweak (#31635)
* lightshit * Revert "lightshit" This reverts commit 25a1b6e4a104546c6393d3c472c0412f7580fe96. * bfghsfg * kreegah * honk
This commit is contained in:
committed by
CitadelStationBot
parent
b9c07e7f66
commit
af1aea7e71
@@ -90,6 +90,9 @@ GLOBAL_LIST_INIT(LIGHTING_CORNER_DIAGONAL, list(NORTHEAST, SOUTHEAST, SOUTHWEST,
|
||||
lum_g += delta_g
|
||||
lum_b += delta_b
|
||||
|
||||
if ((delta_r+delta_g+delta_b) == 0)
|
||||
return
|
||||
|
||||
if (!needs_update)
|
||||
needs_update = TRUE
|
||||
GLOB.lighting_update_corners += src
|
||||
|
||||
Reference in New Issue
Block a user