summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-24 15:02:02 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-24 15:02:02 +0000
commit68d8ee552a2b39cd0c5b2fc75c1335d221f68010 (patch)
tree9988607686674533a8df9fd54aed9abc60561e0f /src/map/npc.c
parent7e87540cb599bacb187ffb9557a55e73190b4c6c (diff)
downloadhercules-68d8ee552a2b39cd0c5b2fc75c1335d221f68010.tar.gz
hercules-68d8ee552a2b39cd0c5b2fc75c1335d221f68010.tar.bz2
hercules-68d8ee552a2b39cd0c5b2fc75c1335d221f68010.tar.xz
hercules-68d8ee552a2b39cd0c5b2fc75c1335d221f68010.zip
* Merged changes up to eAthena 15040 (follow up to r15245, fixed some errors).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15248 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 0312bb892..4606cfc8e 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1268,8 +1268,7 @@ int npc_cashshop_buylist(struct map_session_data *sd, int points, int count, uns
pc_additem(sd,&item_tmp,amount);
}
- if( log_config.enable_logs & LOG_NPC_TRANSACTIONS )
- log_pick_pc(sd, "S", nameid, amount, NULL);
+ log_pick_pc(sd, LOG_TYPE_NPC, nameid, amount, NULL);
}
return 0;