summaryrefslogtreecommitdiff
path: root/src/map/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/storage.c')
-rw-r--r--src/map/storage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/storage.c b/src/map/storage.c
index 4aefaae96..9f2446273 100644
--- a/src/map/storage.c
+++ b/src/map/storage.c
@@ -220,6 +220,8 @@ int storage_additem(struct map_session_data* sd, struct item* item_data, int amo
*it = *item_data;
}
+ it->amount = amount;
+
sd->storage.aggregate++;
clif->storageitemadded(sd, it, i, amount);