summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 68b0510e0..895ad5e89 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -364,7 +364,7 @@ static int pet_return_egg(struct map_session_data *sd, struct pet_data *pd)
pd->state.skillbonus = 0;
status_calc_pc(sd,0);
}
- unit_free(&pd->bl);
+ unit_free(&pd->bl,0);
sd->status.pet_id = 0;
return 1;