Merge pull request #7176 from Carn/#7167

Resolves #7167 - Redone shuttle corners on zlevel 2, yet again
This commit is contained in:
tkdrg
2015-01-21 16:20:19 -03:00
6 changed files with 66 additions and 74 deletions

View File

@@ -546,12 +546,13 @@
/turf/proc/copyTurf(turf/T)
if(T.type != type)
var/image/I
var/obj/O
if(underlays.len) //we have underlays, which implies some sort of transparency, so we want to a snapshot of the previous turf as an underlay
I = image(T.icon, T.icon_state)
O = new()
O.underlays.Add(T)
T = new type(T)
if(I)
T.underlays.Add(I)
if(underlays.len)
T.underlays = O.underlays
if(T.icon_state != icon_state)
T.icon_state = icon_state
if(T.icon != icon)