weapon shattering follow-up
This commit is contained in:
+4
-1
@@ -223,9 +223,12 @@ struct obj {
|
|||||||
(obj)->otyp == TOUCHSTONE)
|
(obj)->otyp == TOUCHSTONE)
|
||||||
|
|
||||||
/* misc */
|
/* misc */
|
||||||
|
#ifdef KOPS
|
||||||
#define is_flimsy(otmp) (objects[(otmp)->otyp].oc_material <= LEATHER || \
|
#define is_flimsy(otmp) (objects[(otmp)->otyp].oc_material <= LEATHER || \
|
||||||
(otmp)->otyp == RUBBER_HOSE)
|
(otmp)->otyp == RUBBER_HOSE)
|
||||||
|
#else
|
||||||
|
#define is_flimsy(otmp) (objects[(otmp)->otyp].oc_material <= LEATHER)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* helpers, simple enough to be macros */
|
/* helpers, simple enough to be macros */
|
||||||
#define is_plural(o) ((o)->quan > 1 || \
|
#define is_plural(o) ((o)->quan > 1 || \
|
||||||
|
|||||||
Reference in New Issue
Block a user