diff options
author | smokexyz <sagunkho@hotmail.com> | 2017-05-30 21:53:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 21:53:58 +0800 |
commit | b950a589e59e2bf074f67c75aaacf3f82424d4fe (patch) | |
tree | eb62320b415d8fe9cd9c9c315338b2e4e43c97bc /src/map | |
parent | d90e8ce0d8ba8677567a5a5adebb62ba97e8a0b3 (diff) | |
download | hercules-b950a589e59e2bf074f67c75aaacf3f82424d4fe.tar.gz hercules-b950a589e59e2bf074f67c75aaacf3f82424d4fe.tar.bz2 hercules-b950a589e59e2bf074f67c75aaacf3f82424d4fe.tar.xz hercules-b950a589e59e2bf074f67c75aaacf3f82424d4fe.zip |
Fix saving of storage for non-stackable items.
Thanks to @MishimaHaruna for the fix.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/storage.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |