From 8e412fcc26499eda20530445d7bf8ae0e80c7d06 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 14 Mar 2014 16:20:38 -0300 Subject: Fixed Bug 7936 Guild bound item deletion is no longer relies on account id to lookup (would cause false positives) , instead it relies on char id. special thanks to kyeme. http://hercules.ws/board/tracker/issue-7936-guildparty-item-bounded/ Signed-off-by: shennetsind --- src/map/guild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/guild.c b/src/map/guild.c index 562878fb8..15d13da0b 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -907,7 +907,7 @@ int guild_member_withdraw(int guild_id, int account_id, int char_id, int flag, c void guild_retrieveitembound(int char_id,int aid,int guild_id) { #ifdef GP_BOUND_ITEMS - TBL_PC *sd = map->id2sd(aid); + TBL_PC *sd = map->charid2sd(char_id); if(sd){ //Character is online pc->bound_clear(sd,IBT_GUILD); } else { //Character is offline, ask char server to do the job -- cgit v1.2.3-70-g09d2