summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-13 08:51:01 -0300
committershennetsind <ind@henn.et>2013-06-13 08:51:01 -0300
commite5e28d108ebc656fcb8a39775b84e725ca4abbb9 (patch)
treeda2fe3a189864c012a7db162090ff471bfa42001 /src/map/script.h
parent7b6e280c5e35ac9e47f4d843178911496d81679c (diff)
downloadhercules-e5e28d108ebc656fcb8a39775b84e725ca4abbb9.tar.gz
hercules-e5e28d108ebc656fcb8a39775b84e725ca4abbb9.tar.bz2
hercules-e5e28d108ebc656fcb8a39775b84e725ca4abbb9.tar.xz
hercules-e5e28d108ebc656fcb8a39775b84e725ca4abbb9.zip
Script.c Interface : detach rid
Special Thanks to Shizaku for pointing it out! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 96fcdc23a..92a083556 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -361,6 +361,7 @@ struct script_interface {
int (*conv_num) (struct script_state *st,struct script_data *data);
const char* (*conv_str) (struct script_state *st,struct script_data *data);
TBL_PC *(*rid2sd) (struct script_state *st);
+ void (*detach_rid) (struct script_state* st);
struct script_data* (*push_val)(struct script_stack* stack, enum c_op type, int val, struct DBMap** ref);
void (*get_val) (struct script_state* st, struct script_data* data);
void* (*get_val2) (struct script_state* st, int uid, struct DBMap** ref);