From 7500e6b6376190ff045b33977308dca7beb33104 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Wed, 24 Apr 2019 20:26:26 +0800 Subject: [PATCH] Updated set_unique_id defines in sfall.h. --- artifacts/scripting/headers/sfall.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artifacts/scripting/headers/sfall.h b/artifacts/scripting/headers/sfall.h index 5cbe517cb..dd6584299 100644 --- a/artifacts/scripting/headers/sfall.h +++ b/artifacts/scripting/headers/sfall.h @@ -243,7 +243,8 @@ #define set_map_enter_position(tile, elev, rot) sfall_func3("set_map_enter_position", tile, elev, rot) #define set_object_data(obj, offset, value) sfall_func3("set_object_data", obj, offset, value) #define set_outline(obj, color) sfall_func2("set_outline", obj, color) -#define set_unique_id(object) sfall_func1("set_unique_id", object) +#define set_unique_id(obj) sfall_func1("set_unique_id", obj) +#define unset_unique_id(obj) sfall_func2("set_unique_id", obj, -1) #define spatial_radius(obj) sfall_func1("spatial_radius", obj) #define tile_refresh_display sfall_func0("tile_refresh_display") #define unjam_lock(obj) sfall_func1("unjam_lock", obj)