summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 2c7f3a585..311e1049d 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1963,7 +1963,7 @@ void mob_log_damage(struct mob_data *md, struct block_list *src, int damage)
}
case BL_MER:
{
- struct mercenary_data *mer = (TBL_MER*)src;
+ struct mercenary_data *mer = (struct mercenary_data *)src;
if( mer->master )
char_id = mer->master->status.char_id;
if( damage )
@@ -2584,7 +2584,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) {
switch( src->type ) {
case BL_PET: sd = ((TBL_PET*)src)->msd; break;
case BL_HOM: sd = ((struct homun_data *)src)->master; break;
- case BL_MER: sd = ((TBL_MER*)src)->master; break;
+ case BL_MER: sd = ((struct mercenary_data *)src)->master; break;
case BL_ELEM: sd = ((TBL_ELEM*)src)->master; break;
}
}