diff options
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 2fc1b9dbe..7ff0c12e6 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -286,7 +286,7 @@ int chrif_save(struct map_session_data *sd, int flag) intif_save_petdata(sd->status.account_id,&sd->pd->pet); if( sd->hd && merc_is_hom_active(sd->hd) ) merc_save(sd->hd); - if( sd->md && sd->md->mercenary.remain_life_time > 0 ) + if( sd->md && mercenary_get_lifetime(sd->md) > 0 ) mercenary_save(sd->md); return 0; |