summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 8c794922b..3c93be7df 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7623,7 +7623,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) {
}
break;
case BL_PET: //Pass on to master...
- src = &((TBL_PET*)src)->msd->bl;
+ src = &((struct pet_data *)src)->msd->bl;
break;
case BL_HOM:
src = &((struct homun_data *)src)->master->bl;