diff options
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; |