diff options
author | shennetsind <ind@henn.et> | 2013-06-20 16:32:47 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-20 16:32:47 -0300 |
commit | 0f7c29113d7d898150108d66d1358f15bb018e0a (patch) | |
tree | 7860de32323fcad0dc9519e0cd7b877d2172aac8 /src/map/guild.c | |
parent | c461dc00be5182be312b04b0e0cb87b37874e02c (diff) | |
download | hercules-0f7c29113d7d898150108d66d1358f15bb018e0a.tar.gz hercules-0f7c29113d7d898150108d66d1358f15bb018e0a.tar.bz2 hercules-0f7c29113d7d898150108d66d1358f15bb018e0a.tar.xz hercules-0f7c29113d7d898150108d66d1358f15bb018e0a.zip |
Hercules Renewal Phase One: storage.c
2 new interfaces:
- storage
- gstorage
http://hercules.ws/board/topic/237-hercules-renewal/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index b28c14db7..e093fdf92 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -921,7 +921,7 @@ int guild_member_withdraw(int guild_id, int account_id, int char_id, int flag, c if(sd != NULL && sd->status.guild_id == guild_id) { // do stuff that needs the guild_id first, BEFORE we wipe it if (sd->state.storage_flag == 2) //Close the guild storage. - storage_guild_storageclose(sd); + gstorage->close(sd); guild->send_dot_remove(sd); if( hChSys.ally ) { clif->chsys_quitg(sd); @@ -1752,7 +1752,7 @@ int guild_broken(int guild_id,int flag) for(i=0;i<g->max_member;i++){ // Destroy all relationships if((sd=g->member[i].sd)!=NULL){ if(sd->state.storage_flag == 2) - storage_guild_storage_quit(sd,1); + gstorage->pc_quit(sd,1); sd->status.guild_id=0; sd->guild = NULL; clif->guild_broken(g->member[i].sd,0); @@ -1762,7 +1762,7 @@ int guild_broken(int guild_id,int flag) guild_db->foreach(guild_db,guild_broken_sub,guild_id); castle_db->foreach(castle_db,castle_guild_broken_sub,guild_id); - guild_storage_delete(guild_id); + gstorage->delete(guild_id); if( hChSys.ally ) { if( g->channel != NULL ) { clif->chsys_delete(( struct hChSysCh * )g->channel); |