| 756 | } |
| 757 | |
| 758 | staticfn int |
| 759 | Shirt_on(void) |
| 760 | { |
| 761 | /* no shirt currently requires special handling when put on, but we |
| 762 | keep this uncommented in case somebody adds a new one which does */ |
| 763 | switch (uarmu->otyp) { |
| 764 | case HAWAIIAN_SHIRT: |
| 765 | case T_SHIRT: |
| 766 | break; |
| 767 | default: |
| 768 | impossible(unknown_type, c_shirt, uarmu->otyp); |
| 769 | } |
| 770 | if (!uarmu->known) { |
| 771 | uarmu->known = 1; /* shirt's +/- evident because of status line AC */ |
| 772 | update_inventory(); |
| 773 | } |
| 774 | return 0; |
| 775 | } |
| 776 | |
| 777 | int |
| 778 | Shirt_off(void) |
no test coverage detected