diff options
author | shennetsind <ind@henn.et> | 2014-10-05 02:37:50 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-10-05 02:37:50 -0300 |
commit | a6c4c6384398a250099c86a1605d63f83f108905 (patch) | |
tree | d5dbc0cd1c3732860ddf1bed827a69dd53195254 /src/map/guild.c | |
parent | a46b190764df4cce0b378bc691218ac0814a5673 (diff) | |
download | hercules-a6c4c6384398a250099c86a1605d63f83f108905.tar.gz hercules-a6c4c6384398a250099c86a1605d63f83f108905.tar.bz2 hercules-a6c4c6384398a250099c86a1605d63f83f108905.tar.xz hercules-a6c4c6384398a250099c86a1605d63f83f108905.zip |
Follow up a46b190764df4cce0b378bc691218ac0814a5673
Dropped id2storage entirely, replaced with idb_get (1) it was redundant 2) the rename on a46b190764df4cce0b378bc691218ac0814a5673 was a very poor choice as plugins using the previous version would be calling the other).
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index 19cb1ab70..595711755 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -928,7 +928,7 @@ void guild_retrieveitembound(int char_id,int aid,int guild_id) { if(sd){ //Character is online pc->bound_clear(sd,IBT_GUILD); } else { //Character is offline, ask char server to do the job - struct guild_storage *gstor = gstorage->id2storage(guild_id); + struct guild_storage *gstor = idb_get(gstorage->db,guild_id); if(gstor && gstor->storage_status == 1) { //Someone is in guild storage, close them struct s_mapiterator* iter = mapit_getallusers(); for( sd = (TBL_PC*)mapit->first(iter); mapit->exists(iter); sd = (TBL_PC*)mapit->next(iter) ) { |