Ports /vg/ get_turf

Gotta go faster.
Possibly undocumented behaviour of get_step?
This commit is contained in:
comma
2016-07-04 00:11:50 +03:00
committed by Yoshax
parent 3896f8b3c1
commit 2fc033ee0e
3 changed files with 3 additions and 7 deletions

View File

@@ -1037,12 +1037,6 @@ proc/get_mob_with_client_list()
else if (zone == "r_foot") return "right foot"
else return zone
//gets the turf the atom is located in (or itself, if it is a turf).
//returns null if the atom is not in a turf.
/proc/get_turf(atom/movable/A)
if(isturf(A)) return A
if(A && A.locs.len) return A.locs[1]
/proc/get(atom/loc, type)
while(loc)
if(istype(loc, type))