summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2015-12-26 11:17:14 +0200
committerHaru <haru@dotalux.com>2016-01-06 15:09:55 +0100
commit829ebdd1527a7a4a585056463f8871d926698e2d (patch)
treedb7a21cf1f33a05896793f9500580b969ca914ba /src/map/unit.c
parentb040c619b505fd7423576f88bb0fe7de35848d3d (diff)
downloadhercules-829ebdd1527a7a4a585056463f8871d926698e2d.tar.gz
hercules-829ebdd1527a7a4a585056463f8871d926698e2d.tar.bz2
hercules-829ebdd1527a7a4a585056463f8871d926698e2d.tar.xz
hercules-829ebdd1527a7a4a585056463f8871d926698e2d.zip
Change all TBL_PET to struct pet_data as per style guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 5d6c3b77a..fab001adb 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2161,7 +2161,7 @@ int unit_attack_timer_sub(struct block_list* src, int tid, int64 tick) {
map->foreachinrange(mob->linksearch, src, md->db->range2, BL_MOB, md->class_, target, tick);
}
}
- if(src->type == BL_PET && pet->attackskill((TBL_PET*)src, target->id))
+ if (src->type == BL_PET && pet->attackskill((struct pet_data *)src, target->id))
return 1;
map->freeblock_lock();