From c8947dc52411adca777742bd5fb231a733a02d5c Mon Sep 17 00:00:00 2001 From: jsn Date: Fri, 22 Nov 2024 02:28:36 +0800 Subject: [PATCH] Use cart function when storing from cart --- src/map/storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/storage.c b/src/map/storage.c index 4a523b984d8..7815116a052 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -447,8 +447,8 @@ static int storage_storageaddfromcart(struct map_session_data *sd, struct storag nullpo_ret(stst = storage->get_settings(stor->uid)); if ((sd->storage.access & STORAGE_ACCESS_PUT) == 0) { - clif->delitem(sd, index, amount, DELITEM_NORMAL); - clif->additem(sd, index, amount, 0); + clif->cart_delitem(sd, index, amount); + clif->cart_additem(sd, index, amount, 0); return 0; }