summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-08-11 02:36:37 +0200
committerHaruna <haru@dotalux.com>2015-08-11 02:36:37 +0200
commite556fc1b65905ad186de70a9774b8b0aceee9bc0 (patch)
treeae7b0364ce80f7a479b3a10b6221b925f6e709ed /src/map/pet.c
parent5ad96bcc2af2a5a76348fca87e52a0f038461808 (diff)
parent30bb5f0fb8c45b518993527fad628754c2723581 (diff)
downloadhercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.tar.gz
hercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.tar.bz2
hercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.tar.xz
hercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.zip
Merge pull request #625 from 4144/scripthooks
Add scripts invoking hooks
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 )