Revert "Makes some get_step(..., 0)s use get_turf(...)"

This commit is contained in:
MoreRobustThanYou
2018-01-06 13:12:56 -05:00
committed by GitHub
parent a41f707d4b
commit ed140a8442
+2 -2
View File
@@ -5,7 +5,7 @@
#define islist(L) (istype(L, /list))
#if DM_VERSION >= 512
#define in_range(source, user) (get_dist(source, user) <= 1 && (get_turf(source)?:z) == (get_turf(source)?:z))
#define in_range(source, user) (get_dist(source, user) <= 1 && (get_step(source, 0)?:z) == (get_step(user, 0)?:z))
#if DM_VERSION > 512
#warn Remove this check.
#endif
@@ -197,4 +197,4 @@ GLOBAL_LIST_INIT(glass_sheet_types, typecacheof(list(
#define is_glass_sheet(O) (is_type_in_typecache(O, GLOB.glass_sheet_types))
#define isblobmonster(O) (istype(O, /mob/living/simple_animal/hostile/blob))
#define isblobmonster(O) (istype(O, /mob/living/simple_animal/hostile/blob))