|
@@ -12466,9 +12466,7 @@ void clif_parse_StopAttack(int fd,map_session_data *sd)
|
|
/// Request to move an item from inventory to cart (CZ_MOVE_ITEM_FROM_BODY_TO_CART).
|
|
/// Request to move an item from inventory to cart (CZ_MOVE_ITEM_FROM_BODY_TO_CART).
|
|
/// 0126 <index>.W <amount>.L
|
|
/// 0126 <index>.W <amount>.L
|
|
void clif_parse_PutItemToCart( int fd, map_session_data *sd ){
|
|
void clif_parse_PutItemToCart( int fd, map_session_data *sd ){
|
|
- if (pc_istrading(sd))
|
|
|
|
- return;
|
|
|
|
- if (!pc_iscarton(sd))
|
|
|
|
|
|
+ if (pc_istrading(sd) || !pc_iscarton(sd) || pc_cant_act2(sd))
|
|
return;
|
|
return;
|
|
if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
return;
|
|
return;
|
|
@@ -12484,7 +12482,7 @@ void clif_parse_PutItemToCart( int fd, map_session_data *sd ){
|
|
void clif_parse_GetItemFromCart(int fd,map_session_data *sd)
|
|
void clif_parse_GetItemFromCart(int fd,map_session_data *sd)
|
|
{
|
|
{
|
|
struct s_packet_db* info = &packet_db[RFIFOW(fd,0)];
|
|
struct s_packet_db* info = &packet_db[RFIFOW(fd,0)];
|
|
- if (!pc_iscarton(sd))
|
|
|
|
|
|
+ if (!pc_iscarton(sd) || pc_cant_act2(sd))
|
|
return;
|
|
return;
|
|
if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
return;
|
|
return;
|