isopenturf() macro, update_above improvements (#2931)

changes:

Added a isopenturf() macro, equivalent to istype(thing, /turf/simulated/open).
Converted most/all instances of istype(/turf/simulated/open) to isopenturf().
Made update_above()' aware of queue status & inlined a proc-call.
This commit is contained in:
Lohikar
2017-07-03 04:04:18 -05:00
committed by skull132
parent d0fcc77f31
commit 9c010f92d1
18 changed files with 29 additions and 33 deletions

View File

@@ -342,7 +342,7 @@
turfs += T
if (istype(T, /turf/simulated/open) && T:below)
if (isopenturf(T) && T:below)
T = T:below // Consider the turf below us as well. (Z-lights)
goto check_t