Fix some lighting bugs (#2383)

Fixes some issues with turf opacity not updating correctly & openspace overlays inheriting their opacity from copied objects.

Probably fixes #2375.
This commit is contained in:
Lohikar
2017-05-21 17:57:39 -05:00
committed by skull132
parent 8c119edefd
commit c103c35a0e
2 changed files with 5 additions and 2 deletions

View File

@@ -95,6 +95,7 @@
T.appearance = T.below
T.name = initial(T.name)
T.desc = "Below seems to be \a [T.below]."
T.opacity = FALSE
// Handle space parallax & starlight.
if (T.is_above_space())
@@ -163,6 +164,7 @@
OO.dir = OO.associated_atom.dir
OO.appearance = OO.associated_atom
OO.plane = OPENTURF_MAX_PLANE - OO.depth
OO.opacity = FALSE
OO.queued = FALSE
if (OO.bound_overlay) // If we have a bound overlay, queue it too.