| 2606 | staticfn boolean leather_cover(struct obj *); |
| 2607 | |
| 2608 | staticfn boolean |
| 2609 | leather_cover(struct obj *otmp) |
| 2610 | { |
| 2611 | const char *odesc = OBJ_DESCR(objects[otmp->otyp]); |
| 2612 | |
| 2613 | if (odesc && (otmp->oclass == SPBOOK_CLASS)) { |
| 2614 | if (!strcmp(odesc, "leather")) |
| 2615 | return TRUE; |
| 2616 | } |
| 2617 | return FALSE; |
| 2618 | } |
| 2619 | #endif |
| 2620 | |
| 2621 | /* |
nothing calls this directly
no outgoing calls
no test coverage detected