summaryrefslogtreecommitdiff
path: root/src/map/script.c
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.c
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.c')
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index ca776ead0..23c6af0f8 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -20662,6 +20662,7 @@ void script_defaults(void) {
script->label_add = script_label_add;
script->run = run_script;
script->run_npc = run_script;
+ script->run_pet = run_script;
script->run_main = run_script_main;
script->run_timer = run_script_timer;
script->set_var = set_var;