diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 8b59cc413..2c7f3a585 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1953,7 +1953,7 @@ void mob_log_damage(struct mob_data *md, struct block_list *src, int damage) } case BL_HOM: { - struct homun_data *hd = (TBL_HOM*)src; + struct homun_data *hd = (struct homun_data *)src; flag = MDLF_HOMUN; if( hd->master ) char_id = hd->master->status.char_id; @@ -2583,7 +2583,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) { if( src ) { switch( src->type ) { case BL_PET: sd = ((TBL_PET*)src)->msd; break; - case BL_HOM: sd = ((TBL_HOM*)src)->master; break; + case BL_HOM: sd = ((struct homun_data *)src)->master; break; case BL_MER: sd = ((TBL_MER*)src)->master; break; case BL_ELEM: sd = ((TBL_ELEM*)src)->master; break; } |