summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-11 17:11:56 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-11 17:11:56 +0000
commitc6a57edb3cb1b89ba16fee291fb9344260826570 (patch)
tree3dc6ec6c67bbbea335127a91bb54240d376e5565 /src/map/clif.c
parentdbcbf9c883a3bc85c2810dfc88b030a2aa505928 (diff)
downloadhercules-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.c5
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;
}