Heavily Optimizes Lighting

This commit is contained in:
Fox-McCloud
2015-07-16 08:10:54 -04:00
parent e55af53edb
commit 8302ab2e7f
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -85,7 +85,8 @@
if(item && item != src) // It's possible that the item is deleted in temperature_expose
item.fire_act(null, temperature, volume)
animate(src, color = heat2color(temperature), 5)
// animate(src, color = heat2color(temperature), 5)
color = heat2color(temperature)
set_light(l_color = color)
return 0