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/clif.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/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 07b0b323b..71409fab4 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11521,7 +11521,7 @@ void clif_parse_OneClick_ItemIdentify(int fd, struct map_session_data *sd) return; if ((n = pc->have_magnifier(sd) ) != INDEX_NOT_FOUND && - pc->delitem(sd, n, 1, 0, DELITEM_NORMAL, LOG_TYPE_OTHER) == 0) + pc->delitem(sd, n, 1, 0, DELITEM_NORMAL, LOG_TYPE_CONSUME) == 0) skill->identify(sd, idx); } @@ -18404,7 +18404,7 @@ void clif_parse_RouletteGenerate(int fd, struct map_session_data* sd) { it.nameid = clif->rd.nameid[stage][0]; it.identify = 1; - pc->additem(sd, &it, clif->rd.qty[stage][0], LOG_TYPE_OTHER);/** TODO maybe a new log type for roulette items? **/ + pc->additem(sd, &it, clif->rd.qty[stage][0], LOG_TYPE_ROULETTE);/** TODO maybe a new log type for roulette items? **/ sd->roulette.stage = 0; result = GENERATE_ROULETTE_LOSING; @@ -18439,7 +18439,7 @@ void clif_parse_RouletteRecvItem(int fd, struct map_session_data* sd) { it.nameid = clif->rd.nameid[sd->roulette.prizeStage][sd->roulette.prizeIdx]; it.identify = 1; - switch (pc->additem(sd, &it, clif->rd.qty[sd->roulette.prizeStage][sd->roulette.prizeIdx], LOG_TYPE_OTHER)) { + switch (pc->additem(sd, &it, clif->rd.qty[sd->roulette.prizeStage][sd->roulette.prizeIdx], LOG_TYPE_ROULETTE)) { case 0: p.Result = RECV_ITEM_SUCCESS; sd->roulette.claimPrize = false; |