summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 15:53:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 15:53:30 +0000
commitadf2854618745572b076a2b4a6343e63374c1182 (patch)
treed9205c4b2153667b9575b7a5d9d5e98b9ecef861 /src/map/chrif.c
parentb7158940b46b4a7cc3ad795eb90a0d896936a644 (diff)
downloadhercules-adf2854618745572b076a2b4a6343e63374c1182.tar.gz
hercules-adf2854618745572b076a2b4a6343e63374c1182.tar.bz2
hercules-adf2854618745572b076a2b4a6343e63374c1182.tar.xz
hercules-adf2854618745572b076a2b4a6343e63374c1182.zip
- Fixed guild storage being "eternally in use" if you quit/logout before closing it.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7395 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 5e622864f..c5b71db03 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -192,7 +192,7 @@ int chrif_save(struct map_session_data *sd, int flag)
if (sd->state.storage_flag == 1)
storage_storage_save(sd->status.account_id, flag);
else if (sd->state.storage_flag == 2)
- storage_guild_storagesave(sd->status.account_id, sd->status.guild_id);
+ storage_guild_storagesave(sd->status.account_id, sd->status.guild_id, flag);
//Saving of registry values.
if (sd->state.reg_dirty&4)