summaryrefslogtreecommitdiff
path: root/src/map/clif.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/clif.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/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fecf0be0e..70b81ffab 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1805,7 +1805,7 @@ void clif_selllist(struct map_session_data *sd)
if( sd->status.inventory[i].expire_time )
continue; // Cannot Sell Rental Items
- if( sd->status.inventory[i].bound && !pc->can_give_bounded_items(sd))
+ if( sd->status.inventory[i].bound && !pc->can_give_bound_items(sd))
continue; // Don't allow sale of bound items
val=sd->inventory_data[i]->value_sell;
@@ -15070,7 +15070,7 @@ void clif_parse_Auction_setitem(int fd, struct map_session_data *sd)
if( !pc->can_give_items(sd) || sd->status.inventory[idx].expire_time ||
!sd->status.inventory[idx].identify ||
!itemdb_canauction(&sd->status.inventory[idx],pc->get_group_level(sd)) || // Quest Item or something else
- (sd->status.inventory[idx].bound && !pc->can_give_bounded_items(sd)) ) {
+ (sd->status.inventory[idx].bound && !pc->can_give_bound_items(sd)) ) {
clif->auction_setitem(sd->fd, idx, true);
return;
}
@@ -15178,7 +15178,7 @@ void clif_parse_Auction_register(int fd, struct map_session_data *sd)
}
// Auction checks...
- if( sd->status.inventory[sd->auction.index].bound && !pc->can_give_bounded_items(sd) ) {
+ if( sd->status.inventory[sd->auction.index].bound && !pc->can_give_bound_items(sd) ) {
clif->message(sd->fd, msg_txt(293));
clif->auction_message(fd, 2); // The auction has been canceled
return;