Replaces awful connect type system with bitflags

This commit is contained in:
mwerezak
2014-12-23 17:11:29 -05:00
parent 5895615f72
commit d4a193808b
15 changed files with 79 additions and 182 deletions

View File

@@ -248,10 +248,7 @@
continue
for(var/obj/machinery/atmospherics/target in get_step(src, P.dir))
if(target.initialize_directions & get_dir(target,src))
var/c = check_connect_types(target,src)
if (c)
target.connected_to = c
src.connected_to = c
if (check_connect_types(target,src))
P.node = target
break