mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Revert "Makes some get_step(..., 0)s use get_turf(...)"
This commit is contained in:
@@ -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))
|
||||
Reference in New Issue
Block a user