wip explosions modifications

Signed-off-by: caelaislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
caelaislinn
2012-06-14 22:52:23 +10:00
parent bcf1b8a0b9
commit 3f19d356d6
3 changed files with 165 additions and 15 deletions
+2 -2
View File
@@ -67,10 +67,10 @@ proc/FloodFill(turf/start)
return closed
turf/proc/ZCanPass(turf/T)
turf/proc/ZCanPass(turf/T, var/include_space = 0)
//Fairly standard pass checks for turfs, objects and directional windows. Also stops at the edge of space.
if(istype(T,/turf/space)) return 0
if(istype(T,/turf/space) && !include_space) return 0
else
if(T.blocks_air||blocks_air)
return 0