diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-23 21:24:46 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-23 21:24:46 +0000 |
commit | c88e266dbc7745b9554f9a8c11357fc046c101b5 (patch) | |
tree | 4b5e0fac2bb46ca7a2f808b706d2d55fa8e32c5c /src/map/storage.c | |
parent | 12b315593cc7f49afc3a1892e930f899deed4486 (diff) | |
download | hercules-c88e266dbc7745b9554f9a8c11357fc046c101b5.tar.gz hercules-c88e266dbc7745b9554f9a8c11357fc046c101b5.tar.bz2 hercules-c88e266dbc7745b9554f9a8c11357fc046c101b5.tar.xz hercules-c88e266dbc7745b9554f9a8c11357fc046c101b5.zip |
Save storage one last time for good measure
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@761 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/storage.c')
-rw-r--r-- | src/map/storage.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/storage.c b/src/map/storage.c index abc0a56e9..eb9da1539 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -337,6 +337,16 @@ int storage_storage_quit(struct map_session_data *sd) return 0; } +void storage_storage_dirty(struct map_session_data *sd) +{ + struct storage *stor; + + stor=numdb_search(storage_db,sd->status.account_id); + + if(stor) + stor->dirty = 1; +} + int storage_storage_save(struct map_session_data *sd) { struct storage *stor; |