Small lighting perf tweak (#31635)

* lightshit

* Revert "lightshit"

This reverts commit 25a1b6e4a104546c6393d3c472c0412f7580fe96.

* bfghsfg

* kreegah

* honk
This commit is contained in:
vuonojenmustaturska
2017-10-13 15:29:50 -06:00
committed by duncathan salt
parent 65bf8e5985
commit 673abab94e
+3
View File
@@ -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