From c7062660486e8636edf6e4079185e774606dcaf1 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 28 Jul 2006 03:28:13 +0000 Subject: - The picklog will now record negative values for items sold to npcs. - Added inmediate position and hp-bar update when a character joins a party. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7934 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 2 +- src/map/party.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/npc.c b/src/map/npc.c index 6f5649654..696775cc2 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1302,7 +1302,7 @@ int npc_selllist(struct map_session_data *sd,int n,unsigned short *item_list) } if(log_config.pick) //Logs items, Sold to NPC (S)hop [Lupus] - log_pick(sd, "S", 0, nameid, qty, &sd->status.inventory[idx]); + log_pick(sd, "S", 0, nameid, -qty, &sd->status.inventory[idx]); if(nd) { pc_setreg(sd,add_str("@sold_nameid")+(i<<24),(int)sd->status.inventory[idx].nameid); diff --git a/src/map/party.c b/src/map/party.c index dccc1bad7..58de89038 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -341,6 +341,8 @@ int party_member_added(int party_id,int account_id,int char_id, int flag) sd->status.party_id=party_id; party_check_conflict(sd); clif_party_join_info(&p->party,sd); + clif_party_hp(sd); + clif_party_xy(sd); clif_charnameupdate(sd); //Update char name's display [Skotlex] } -- cgit v1.2.3-70-g09d2