diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-26 11:17:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:09:55 +0100 |
commit | 829ebdd1527a7a4a585056463f8871d926698e2d (patch) | |
tree | db7a21cf1f33a05896793f9500580b969ca914ba /src/map/clif.c | |
parent | b040c619b505fd7423576f88bb0fe7de35848d3d (diff) | |
download | hercules-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/clif.c')
-rw-r--r-- | src/map/clif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index a4ff28bb6..1ca323136 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -1463,7 +1463,7 @@ bool clif_spawn(struct block_list *bl) break; case BL_PET: if (vd->head_bottom) - clif->send_petdata(NULL, (TBL_PET*)bl, 3, vd->head_bottom); // needed to display pet equip properly + clif->send_petdata(NULL, (struct pet_data *)bl, 3, vd->head_bottom); // needed to display pet equip properly break; } return true; @@ -1709,7 +1709,7 @@ void clif_move2(struct block_list *bl, struct view_data *vd, struct unit_data *u break; case BL_PET: if( vd->head_bottom ) // needed to display pet equip properly - clif->send_petdata(NULL, (TBL_PET*)bl, 3, vd->head_bottom); + clif->send_petdata(NULL, (struct pet_data *)bl, 3, vd->head_bottom); break; } #ifdef ANTI_MAYAP_CHEAT @@ -4233,7 +4233,7 @@ void clif_getareachar_unit(struct map_session_data* sd,struct block_list *bl) { break; case BL_PET: if (vd->head_bottom) - clif->send_petdata(NULL, (TBL_PET*)bl, 3, vd->head_bottom); // needed to display pet equip properly + clif->send_petdata(NULL, (struct pet_data *)bl, 3, vd->head_bottom); // needed to display pet equip properly break; } } @@ -8415,7 +8415,7 @@ void clif_charnameack (int fd, struct block_list *bl) memcpy(WBUFP(buf,6), ((struct mercenary_data *)bl)->db->name, NAME_LENGTH); break; case BL_PET: - memcpy(WBUFP(buf,6), ((TBL_PET*)bl)->pet.name, NAME_LENGTH); + memcpy(WBUFP(buf,6), ((struct pet_data *)bl)->pet.name, NAME_LENGTH); break; case BL_NPC: memcpy(WBUFP(buf,6), ((TBL_NPC*)bl)->name, NAME_LENGTH); |