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

@@ -1,6 +1,8 @@
#define Clamp(x, y, z) (x <= y ? y : (x >= z ? z : x))
#define CLAMP01(x) (Clamp(x, 0, 1))
#define get_turf(A) get_step(A,0)
#define isAI(A) istype(A, /mob/living/silicon/ai)
#define isalien(A) istype(A, /mob/living/carbon/alien)