diff options
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index c94534566..6a201008e 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -122,7 +122,7 @@ int itemdb_searchrandomid(int flags); #define itemdb_value_buy(n) itemdb_search(n)->value_buy #define itemdb_value_sell(n) itemdb_search(n)->value_sell -#define itemdb_canrefine(n) itemdb_search(n)->flag.no_refine +#define itemdb_canrefine(n) (!itemdb_search(n)->flag.no_refine) //Item trade restrictions [Skotlex] int itemdb_isdropable_sub(struct item_data *, int, int); int itemdb_cantrade_sub(struct item_data*, int, int); |