diff options
author | Haru <haru@dotalux.com> | 2014-05-31 02:55:46 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-05-31 02:55:46 +0200 |
commit | 3dccf7e300f9868a98075e1863c88c38d3211f33 (patch) | |
tree | f21e1cccc81a5fde15627bbcea45c817599cab06 /src/map/pet.c | |
parent | cadd6115604d80158fc532eb23209975cebf334a (diff) | |
download | hercules-3dccf7e300f9868a98075e1863c88c38d3211f33.tar.gz hercules-3dccf7e300f9868a98075e1863c88c38d3211f33.tar.bz2 hercules-3dccf7e300f9868a98075e1863c88c38d3211f33.tar.xz hercules-3dccf7e300f9868a98075e1863c88c38d3211f33.zip |
Added ItemTradeRestriction enum
- To be used in a follow-up item_db.conf edit.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/pet.c')
-rw-r--r-- | src/map/pet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c index 05bbfe7b3..e083e58d1 100644 --- a/src/map/pet.c +++ b/src/map/pet.c @@ -601,7 +601,7 @@ int pet_menu(struct map_session_data *sd,int menunum) egg_id = itemdb->exists(sd->pd->petDB->EggID); if (egg_id) { - if ((egg_id->flag.trade_restriction&0x01) && !pc->inventoryblank(sd)) { + if ((egg_id->flag.trade_restriction&ITR_NODROP) && !pc->inventoryblank(sd)) { clif->message(sd->fd, msg_txt(451)); // You can't return your pet because your inventory is full. return 1; } |