From b5f8ae68cf230a2e5ca1ab8bb52ff8f693bf42f4 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 2 Jun 2013 15:13:19 -0300 Subject: Follow up 86e9900db60e06738880a57820125ca169c37520 Forgot about the Interface. Signed-off-by: shennetsind --- src/map/script.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/script.h') diff --git a/src/map/script.h b/src/map/script.h index 83d6dd9ee..2e8dde5cf 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -214,8 +214,6 @@ int script_reload(void); // @commands (script based) void setd_sub(struct script_state *st, struct map_session_data *sd, const char *varname, int elem, void *value, struct DBMap **ref); -TBL_PC *script_rid2sd(struct script_state *st); - /////////////////////////////////////////////////////////////////////////////// //## TODO possible enhancements: [FlavioJS] // - 'callfunc' supporting labels in the current npc "::LabelName" @@ -339,6 +337,7 @@ struct script_interface { bool (*addScript) (char *name, char *args, bool (*func)(struct script_state *st)); 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); /* */ struct hQueue *(*queue) (int idx); bool (*queue_add) (int idx, int var); -- cgit v1.2.3-70-g09d2