diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-09 20:00:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-10 23:31:49 +0300 |
commit | e3993d5eb974ab13d256f1cce946ec1e055192c8 (patch) | |
tree | 385b343edcc6591c1ee08e5a0fb7de88fe9906ad /src/map/chrif.c | |
parent | b18a0e350abe20202ba787716feb7b39a23b6de4 (diff) | |
download | hercules-e3993d5eb974ab13d256f1cce946ec1e055192c8.tar.gz hercules-e3993d5eb974ab13d256f1cce946ec1e055192c8.tar.bz2 hercules-e3993d5eb974ab13d256f1cce946ec1e055192c8.tar.xz hercules-e3993d5eb974ab13d256f1cce946ec1e055192c8.zip |
Add new logging types.
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 578942897..70339c378 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -933,14 +933,14 @@ bool chrif_divorceack(int char_id, int partner_id) { sd->status.partner_id = 0; for(i = 0; i < MAX_INVENTORY; i++) if (sd->status.inventory[i].nameid == WEDDING_RING_M || sd->status.inventory[i].nameid == WEDDING_RING_F) - pc->delitem(sd, i, 1, 0, DELITEM_NORMAL, LOG_TYPE_OTHER); + pc->delitem(sd, i, 1, 0, DELITEM_NORMAL, LOG_TYPE_DIVORCE); } if( ( sd = map->charid2sd(partner_id) ) != NULL && sd->status.partner_id == char_id ) { sd->status.partner_id = 0; for(i = 0; i < MAX_INVENTORY; i++) if (sd->status.inventory[i].nameid == WEDDING_RING_M || sd->status.inventory[i].nameid == WEDDING_RING_F) - pc->delitem(sd, i, 1, 0, DELITEM_NORMAL, LOG_TYPE_OTHER); + pc->delitem(sd, i, 1, 0, DELITEM_NORMAL, LOG_TYPE_DIVORCE); } return true; |