summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-02 15:13:19 -0300
committershennetsind <ind@henn.et>2013-06-02 15:13:19 -0300
commit7b9297cbaedad24cd6109394445ba46095e552ff (patch)
tree1c57dd98714b5a0aa26c43392b8c7b2de76b4864 /src/map/script.h
parentc9d08b4d92a6fdab0e13dcff140b70e8d9f0abe9 (diff)
downloadhercules-7b9297cbaedad24cd6109394445ba46095e552ff.tar.gz
hercules-7b9297cbaedad24cd6109394445ba46095e552ff.tar.bz2
hercules-7b9297cbaedad24cd6109394445ba46095e552ff.tar.xz
hercules-7b9297cbaedad24cd6109394445ba46095e552ff.zip
Follow up 86e9900db60e06738880a57820125ca169c37520
Forgot about the Interface. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 1 insertions, 2 deletions
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);