From bc99fd14a6c744e713699a3090b55e961ef97041 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Wed, 6 Mar 2002 02:05:14 +0000 Subject: [PATCH] weapon shattering follow-up --- include/obj.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/obj.h b/include/obj.h index 5bcf9d0dc..e118b1d2e 100644 --- a/include/obj.h +++ b/include/obj.h @@ -223,9 +223,12 @@ struct obj { (obj)->otyp == TOUCHSTONE) /* misc */ +#ifdef KOPS #define is_flimsy(otmp) (objects[(otmp)->otyp].oc_material <= LEATHER || \ (otmp)->otyp == RUBBER_HOSE) - +#else +#define is_flimsy(otmp) (objects[(otmp)->otyp].oc_material <= LEATHER) +#endif /* helpers, simple enough to be macros */ #define is_plural(o) ((o)->quan > 1 || \