diff options
author | Haru <haru@dotalux.com> | 2016-03-11 12:18:19 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-03-11 12:18:19 +0100 |
commit | 7574d51be691d78217dfeb0d81a2ae93e985e92d (patch) | |
tree | 0318c061a56cc3a7a938eeecfd1901720e40ec84 /src/map/chrif.c | |
parent | fa1459d521bab6c33a57bfa25a66855e3df521f0 (diff) | |
parent | ca5f133a7c57854e3f02acdb616d3c14e21bcf6b (diff) | |
download | hercules-7574d51be691d78217dfeb0d81a2ae93e985e92d.tar.gz hercules-7574d51be691d78217dfeb0d81a2ae93e985e92d.tar.bz2 hercules-7574d51be691d78217dfeb0d81a2ae93e985e92d.tar.xz hercules-7574d51be691d78217dfeb0d81a2ae93e985e92d.zip |
Merge pull request #1192 from 4144/extendlog
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; |