mirror of
https://github.com/HerculesWS/Hercules
synced 2026-08-15 12:23:13 -04:00
Use cart function when storing from cart
This commit is contained in:
parent
842d4d6a31
commit
327e69c8d6
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue