summaryrefslogtreecommitdiff
path: root/src/map/buyingstore.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-07 17:05:56 -0200
committershennetsind <ind@henn.et>2013-11-07 17:05:56 -0200
commit8083daec0d94f78510411c9b225abcfa7e829e95 (patch)
treec872c4b13d0853c2acf426cdf85dd25d010e3974 /src/map/buyingstore.c
parentb9b32ac7609e33c21b488d722103cc0eea16b12c (diff)
downloadhercules-8083daec0d94f78510411c9b225abcfa7e829e95.tar.gz
hercules-8083daec0d94f78510411c9b225abcfa7e829e95.tar.bz2
hercules-8083daec0d94f78510411c9b225abcfa7e829e95.tar.xz
hercules-8083daec0d94f78510411c9b225abcfa7e829e95.zip
Further item bind adjustments
Thanks to Haruna! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/buyingstore.c')
-rw-r--r--src/map/buyingstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/buyingstore.c b/src/map/buyingstore.c
index 44ece49c6..a9f1412ed 100644
--- a/src/map/buyingstore.c
+++ b/src/map/buyingstore.c
@@ -290,7 +290,7 @@ void buyingstore_trade(struct map_session_data* sd, int account_id, unsigned int
return;
}
- if( sd->status.inventory[index].expire_time || (sd->status.inventory[index].bound && !pc->can_give_bounded_items(sd)) || !itemdb_cantrade(&sd->status.inventory[index], pc->get_group_level(sd), pc->get_group_level(pl_sd)) || memcmp(sd->status.inventory[index].card, buyingstore->blankslots, sizeof(buyingstore->blankslots)) )
+ if( sd->status.inventory[index].expire_time || (sd->status.inventory[index].bound && !pc->can_give_bound_items(sd)) || !itemdb_cantrade(&sd->status.inventory[index], pc->get_group_level(sd), pc->get_group_level(pl_sd)) || memcmp(sd->status.inventory[index].card, buyingstore->blankslots, sizeof(buyingstore->blankslots)) )
{// non-tradable item
clif->buyingstore_trade_failed_seller(sd, BUYINGSTORE_TRADE_SELLER_FAILED, nameid);
return;