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/intif.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/intif.c')
-rw-r--r-- | src/map/intif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index 59c3c71e8..c20905bcf 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -2165,7 +2165,7 @@ void intif_parse_MessageToFD(int fd) { *------------------------------------------*/ void intif_itembound_req(int char_id,int aid,int guild_id) { #ifdef GP_BOUND_ITEMS - struct guild_storage *gstor = gstorage->id2storage(guild_id); + struct guild_storage *gstor = idb_get(gstorage->db,guild_id); WFIFOHEAD(inter_fd,12); WFIFOW(inter_fd,0) = 0x3056; WFIFOL(inter_fd,2) = char_id; @@ -2183,7 +2183,7 @@ void intif_parse_Itembound_ack(int fd) { struct guild_storage *gstor; int guild_id = RFIFOW(fd,6); - gstor = gstorage->id2storage(guild_id); + gstor = idb_get(gstorage->db,guild_id); if(gstor) gstor->lock = 0; //Unlock now that operation is completed #endif |