summaryrefslogtreecommitdiff
path: root/src/map
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
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')
-rw-r--r--src/map/script.c1
-rw-r--r--src/map/script.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a086c3f65..15b6fe788 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -17912,6 +17912,7 @@ void script_defaults(void) {
script->addScript = script_hp_add;
script->conv_num = conv_num;
script->conv_str = conv_str;
+ script->rid2sd = script_rid2sd;
script->queue = script_hqueue_get;
script->queue_add = script_hqueue_add;
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);