WIP ZAS rework.

This commit is contained in:
SkyMarshal
2013-09-03 20:25:02 -07:00
committed by SkyMarshal
parent 9a5f544e8c
commit 073f462e1b
12 changed files with 97 additions and 190 deletions
+3 -15
View File
@@ -316,21 +316,9 @@
//This proc has to do with airgroups and atmos, it has nothing to do with smoothwindows, that's update_nearby_tiles().
/obj/structure/window/proc/update_nearby_tiles(need_rebuild)
if(!air_master) return 0
if(!dir in cardinal)
var/turf/simulated/source = get_turf(src)
if(istype(source))
air_master.tiles_to_update |= source
for(var/dir in cardinal)
var/turf/simulated/target = get_step(source,dir)
if(istype(target)) air_master.tiles_to_update |= target
return 1
var/turf/simulated/source = get_turf(src)
var/turf/simulated/target = get_step(source,dir)
if(istype(source)) air_master.tiles_to_update |= source
if(istype(target)) air_master.tiles_to_update |= target
if(!air_master)
return 0
AddTurfToUpdate(
return 1