summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-19 21:25:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-19 21:25:56 +0000
commit0a98391b9dba8f27a0c285fcdafc564d93a37e23 (patch)
tree06157117643325a15f5fd570767897856184e96b /src/map/party.c
parentebed223aec7badf0b6ca7cf6e3341a5c81e7174d (diff)
downloadhercules-0a98391b9dba8f27a0c285fcdafc564d93a37e23.tar.gz
hercules-0a98391b9dba8f27a0c285fcdafc564d93a37e23.tar.bz2
hercules-0a98391b9dba8f27a0c285fcdafc564d93a37e23.tar.xz
hercules-0a98391b9dba8f27a0c285fcdafc564d93a37e23.zip
- Cleaned up the log.c file.
- Splitted log_pick into log_pick_pc and log_pick_mob to avoid ugly type-casting. - Fixed log_chat not recording anything if the server is compiled in SQL mode and sql_logs is turned off (it should then record to a plain txt file) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9017 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 13cafc922..a119d5287 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -808,7 +808,7 @@ int party_share_loot(struct party_data *p, TBL_PC *sd, struct item *item_data, i
}
if(log_config.enable_logs&0x8) //Logs items, taken by (P)layers [Lupus]
- log_pick(target, "P", 0, item_data->nameid, item_data->amount, item_data);
+ log_pick_pc(target, "P", item_data->nameid, item_data->amount, item_data);
//Logs
if(battle_config.party_show_share_picker && target != sd){
char output[80];