From a6c4c6384398a250099c86a1605d63f83f108905 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 5 Oct 2014 02:37:50 -0300 Subject: 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 --- src/map/intif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/intif.c') 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 -- cgit v1.2.3-60-g2f50