diff options
author | shennetsind <ind@henn.et> | 2013-06-27 16:31:18 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-27 16:31:18 -0300 |
commit | 897f598ab7ea2235d551081f54328ee69970f731 (patch) | |
tree | cba38e4e6f994b2cd871fd0019b342306475ee56 /src/map/storage.c | |
parent | 85ac3b03b9e642bc322109ea8c176c43192eb4bd (diff) | |
parent | 15398c9b90693707c3e49c349e24e6dd655f12a9 (diff) | |
download | hercules-897f598ab7ea2235d551081f54328ee69970f731.tar.gz hercules-897f598ab7ea2235d551081f54328ee69970f731.tar.bz2 hercules-897f598ab7ea2235d551081f54328ee69970f731.tar.xz hercules-897f598ab7ea2235d551081f54328ee69970f731.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/storage.c')
-rw-r--r-- | src/map/storage.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/storage.c b/src/map/storage.c index e3fa073af..5b3c75d58 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -321,7 +321,7 @@ void storage_storageclose(struct map_session_data* sd) clif->storageclose(sd); if( iMap->save_settings&4 ) - chrif_save(sd,0); //Invokes the storage saving as well. + chrif->save(sd,0); //Invokes the storage saving as well. sd->state.storage_flag = 0; } @@ -334,7 +334,7 @@ void storage_storage_quit(struct map_session_data* sd, int flag) nullpo_retv(sd); if (iMap->save_settings&4) - chrif_save(sd, flag); //Invokes the storage saving as well. + chrif->save(sd, flag); //Invokes the storage saving as well. sd->state.storage_flag = 0; } @@ -688,7 +688,7 @@ int storage_guild_storageclose(struct map_session_data* sd) if (stor->storage_status) { if (iMap->save_settings&4) - chrif_save(sd, 0); //This one also saves the storage. [Skotlex] + chrif->save(sd, 0); //This one also saves the storage. [Skotlex] else gstorage->save(sd->status.account_id, sd->status.guild_id,0); stor->storage_status=0; @@ -711,13 +711,13 @@ int storage_guild_storage_quit(struct map_session_data* sd, int flag) stor->storage_status = 0; clif->storageclose(sd); if (iMap->save_settings&4) - chrif_save(sd,0); + chrif->save(sd,0); return 0; } if(stor->storage_status) { if (iMap->save_settings&4) - chrif_save(sd,0); + chrif->save(sd,0); else gstorage->save(sd->status.account_id,sd->status.guild_id,1); } @@ -762,4 +762,4 @@ void gstorage_defaults(void) { gstorage->pc_quit = storage_guild_storage_quit; gstorage->save = storage_guild_storagesave; gstorage->saved = storage_guild_storagesaved; -}
\ No newline at end of file +} |