mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
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:
+2
-2
@@ -58,9 +58,9 @@ turf/c_airblock(turf/other)
|
||||
#ifdef MULTIZAS
|
||||
if(other.z != src.z)
|
||||
if(other.z < src.z)
|
||||
if(!istype(src, /turf/simulated/open)) return BLOCKED
|
||||
if(!isopenturf(src)) return BLOCKED
|
||||
else
|
||||
if(!istype(other, /turf/simulated/open)) return BLOCKED
|
||||
if(!isopenturf(other)) return BLOCKED
|
||||
#endif
|
||||
|
||||
if(((blocks_air & ZONE_BLOCKED) || (other.blocks_air & ZONE_BLOCKED)))
|
||||
|
||||
Reference in New Issue
Block a user