From b950a589e59e2bf074f67c75aaacf3f82424d4fe Mon Sep 17 00:00:00 2001 From: smokexyz Date: Tue, 30 May 2017 21:53:58 +0800 Subject: Fix saving of storage for non-stackable items. Thanks to @MishimaHaruna for the fix. --- src/map/storage.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/storage.c') diff --git a/src/map/storage.c b/src/map/storage.c index 9f2446273..01e7c7c27 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -200,6 +200,8 @@ int storage_additem(struct map_session_data* sd, struct item* item_data, int amo clif->storageitemadded(sd, it, i, amount); + sd->storage.save = true; // set a save flag. + return 0; } } -- cgit v1.2.3-60-g2f50