|
@@ -12607,6 +12607,8 @@ void clif_parse_PutItemToCart(int fd,struct map_session_data *sd)
|
|
|
return;
|
|
|
if (!pc_iscarton(sd))
|
|
|
return;
|
|
|
+ if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
|
+ return;
|
|
|
pc_putitemtocart(sd,RFIFOW(fd,info->pos[0])-2,RFIFOL(fd,info->pos[1]));
|
|
|
}
|
|
|
|
|
@@ -12618,6 +12620,8 @@ void clif_parse_GetItemFromCart(int fd,struct map_session_data *sd)
|
|
|
struct s_packet_db* info = &packet_db[RFIFOW(fd,0)];
|
|
|
if (!pc_iscarton(sd))
|
|
|
return;
|
|
|
+ if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
|
+ return;
|
|
|
pc_getitemfromcart(sd,RFIFOW(fd,info->pos[0])-2,RFIFOL(fd,info->pos[1]));
|
|
|
}
|
|
|
|
|
@@ -13585,6 +13589,8 @@ void clif_parse_MoveToKafraFromCart(int fd, struct map_session_data *sd){
|
|
|
return;
|
|
|
if (!pc_iscarton(sd))
|
|
|
return;
|
|
|
+ if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
|
+ return;
|
|
|
|
|
|
if (idx < 0 || idx >= MAX_INVENTORY || amount < 1)
|
|
|
return;
|
|
@@ -13613,6 +13619,8 @@ void clif_parse_MoveFromKafraToCart(int fd, struct map_session_data *sd){
|
|
|
return;
|
|
|
if (!pc_iscarton(sd))
|
|
|
return;
|
|
|
+ if (map_getmapflag(sd->bl.m, MF_NOUSECART))
|
|
|
+ return;
|
|
|
|
|
|
if (sd->state.storage_flag == 1)
|
|
|
storage_storagegettocart(sd, &sd->storage, idx, amount);
|