summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-07 23:15:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-10 23:06:09 +0300
commit30bb5f0fb8c45b518993527fad628754c2723581 (patch)
treeae7b0364ce80f7a479b3a10b6221b925f6e709ed /src/map/script.h
parent6d55379d57a9b9dea689ddf8e711e0cdfa0c9dbe (diff)
downloadhercules-30bb5f0fb8c45b518993527fad628754c2723581.tar.gz
hercules-30bb5f0fb8c45b518993527fad628754c2723581.tar.bz2
hercules-30bb5f0fb8c45b518993527fad628754c2723581.tar.xz
hercules-30bb5f0fb8c45b518993527fad628754c2723581.zip
Add script interface function run_pet. It do same thing as run.
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 f85ebfd79..b3d2a3c8a 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -639,6 +639,7 @@ struct script_interface {
void (*label_add)(int key, int pos);
void (*run) (struct script_code *rootscript, int pos, int rid, int oid);
void (*run_npc) (struct script_code *rootscript, int pos, int rid, int oid);
+ void (*run_pet) (struct script_code *rootscript, int pos, int rid, int oid);
void (*run_main) (struct script_state *st);
int (*run_timer) (int tid, int64 tick, int id, intptr_t data);
int (*set_var) (struct map_session_data *sd, char *name, void *val);