summaryrefslogtreecommitdiff
path: root/src/map/pet.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/pet.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/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 2379ec984..b612a9505 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -367,7 +367,7 @@ int pet_data_init(struct map_session_data *sd, struct s_pet *petinfo)
pd->state.skillbonus = 0;
if( battle_config.pet_status_support )
- script->run(pet->db[i].pet_script,0,sd->bl.id,0);
+ script->run_pet(pet->db[i].pet_script,0,sd->bl.id,0);
if( pd->petDB ) {
if( pd->petDB->equip_script )