Fixes bubble/hull shield generators not updating air zones, update_nearby_tiles() cleanup.

This commit is contained in:
mwerezak
2014-11-28 19:37:31 -05:00
committed by mwerezak
parent af579e0e25
commit b84bb4ff23
12 changed files with 41 additions and 67 deletions
-9
View File
@@ -322,15 +322,6 @@
dir = ini_dir
update_nearby_tiles(need_rebuild=1)
//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
air_master.mark_for_update(get_turf(src))
return 1
//checks if this window is full-tile one
/obj/structure/window/proc/is_fulltile()
if(dir & (dir - 1))