Fix "gems in apply menu" From a bug report.

This commit is contained in:
nethack.allison
2002-01-28 11:38:25 +00:00
parent aec390d154
commit 39f24cda78
3 changed files with 11 additions and 6 deletions

View File

@@ -216,6 +216,12 @@ struct obj {
otmp->otyp == WAX_CANDLE)
#define MAX_OIL_IN_FLASK 400 /* maximum amount of oil in a potion of oil */
/* special stones */
#define is_greystone(obj) ((obj)->otyp == LUCKSTONE || \
(obj)->otyp == LOADSTONE || \
(obj)->otyp == FLINT || \
(obj)->otyp == TOUCHSTONE)
/* Flags for get_obj_location(). */
#define CONTAINED_TOO 0x1
#define BURIED_TOO 0x2