| 2805 | /* #define is_art(o,art) ((o) && (o)->oartifact == (art)) */ |
| 2806 | |
| 2807 | boolean |
| 2808 | is_art(struct obj *obj, int art) |
| 2809 | { |
| 2810 | if (obj && obj->oartifact == art) |
| 2811 | return TRUE; |
| 2812 | return FALSE; |
| 2813 | } |
| 2814 | |
| 2815 | /* #define get_artifact(o) \ |
| 2816 | (((o) && ((o)->artifact > 0 && (o)->artifact < AFTER_LAST_ARTIFACT)) \ |
no outgoing calls
no test coverage detected