diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-11 17:11:56 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-11 17:11:56 +0000 |
commit | c6a57edb3cb1b89ba16fee291fb9344260826570 (patch) | |
tree | 3dc6ec6c67bbbea335127a91bb54240d376e5565 /src/map/clif.c | |
parent | dbcbf9c883a3bc85c2810dfc88b030a2aa505928 (diff) | |
download | hercules-c6a57edb3cb1b89ba16fee291fb9344260826570.tar.gz hercules-c6a57edb3cb1b89ba16fee291fb9344260826570.tar.bz2 hercules-c6a57edb3cb1b89ba16fee291fb9344260826570.tar.xz hercules-c6a57edb3cb1b89ba16fee291fb9344260826570.zip |
Added 2 new item_trade.txt flags as per kenpachi request:
- Item can't be attached to mail
- Item can't be auctioned
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15564 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 7f706742a..f5a165fe2 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -14003,8 +14003,9 @@ void clif_parse_Auction_setitem(int fd, struct map_session_data *sd) return; } - if( !pc_candrop(sd, &sd->status.inventory[idx]) || !sd->status.inventory[idx].identify ) - { // Quest Item or something else + if( !pc_candrop(sd, &sd->status.inventory[idx]) || + !sd->status.inventory[idx].identify || + !itemdb_canauction(&sd->status.inventory[idx],pc_isGM(sd)) ) { // Quest Item or something else clif_Auction_setitem(sd->fd, idx, true); return; } |