diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-17 06:25:11 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-17 06:25:11 +0000 |
commit | 9689016f331acd7d5409f1d95cc207ac044b035b (patch) | |
tree | 09450feaf6fba65b5ba45222970c78eb7dc9097b /src/map/trade.c | |
parent | 8e5eff5022d6a0598787432368abe4ea8e0364d1 (diff) | |
download | hercules-9689016f331acd7d5409f1d95cc207ac044b035b.tar.gz hercules-9689016f331acd7d5409f1d95cc207ac044b035b.tar.bz2 hercules-9689016f331acd7d5409f1d95cc207ac044b035b.tar.xz hercules-9689016f331acd7d5409f1d95cc207ac044b035b.zip |
- Replaced log_config.enable_logs constants with LOG_ enums that existed since r9599.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15150 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/trade.c')
-rw-r--r-- | src/map/trade.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/trade.c b/src/map/trade.c index fb9fecbac..53b884cef 100644 --- a/src/map/trade.c +++ b/src/map/trade.c @@ -554,7 +554,7 @@ void trade_tradecommit(struct map_session_data *sd) if (flag == 0) { //Logs (T)rade [Lupus] - if(log_config.enable_logs&0x2) + if(log_config.enable_logs & LOG_TRADES) { log_pick_pc(sd, "T", sd->status.inventory[n].nameid, -(sd->deal.item[trade_i].amount), &sd->status.inventory[n]); log_pick_pc(tsd, "T", sd->status.inventory[n].nameid, sd->deal.item[trade_i].amount, &sd->status.inventory[n]); @@ -573,7 +573,7 @@ void trade_tradecommit(struct map_session_data *sd) if (flag == 0) { //Logs (T)rade [Lupus] - if(log_config.enable_logs&0x2) + if(log_config.enable_logs & LOG_TRADES) { log_pick_pc(tsd, "T", tsd->status.inventory[n].nameid, -(tsd->deal.item[trade_i].amount), &tsd->status.inventory[n]); log_pick_pc(sd, "T", tsd->status.inventory[n].nameid, tsd->deal.item[trade_i].amount, &tsd->status.inventory[n]); |