summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-03-14 16:20:38 -0300
committershennetsind <ind@henn.et>2014-03-14 16:20:38 -0300
commit8e412fcc26499eda20530445d7bf8ae0e80c7d06 (patch)
treedea4e7179c2491ba375b330ef9f8ba3e729e2118 /src/map
parent95892027052d6123805a16e12dbd12ec44d3b85d (diff)
downloadhercules-8e412fcc26499eda20530445d7bf8ae0e80c7d06.tar.gz
hercules-8e412fcc26499eda20530445d7bf8ae0e80c7d06.tar.bz2
hercules-8e412fcc26499eda20530445d7bf8ae0e80c7d06.tar.xz
hercules-8e412fcc26499eda20530445d7bf8ae0e80c7d06.zip
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 <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
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