| 775 | } |
| 776 | |
| 777 | int |
| 778 | Shirt_off(void) |
| 779 | { |
| 780 | svc.context.takeoff.mask &= ~W_ARMU; |
| 781 | |
| 782 | /* no shirt currently requires special handling when taken off, but we |
| 783 | keep this uncommented in case somebody adds a new one which does */ |
| 784 | switch (uarmu->otyp) { |
| 785 | case HAWAIIAN_SHIRT: |
| 786 | case T_SHIRT: |
| 787 | break; |
| 788 | default: |
| 789 | impossible(unknown_type, c_shirt, uarmu->otyp); |
| 790 | } |
| 791 | |
| 792 | setworn((struct obj *) 0, W_ARMU); |
| 793 | return 0; |
| 794 | } |
| 795 | |
| 796 | /* handle extra abilities for hero wearing dragon scale armor */ |
| 797 | staticfn void |
no test coverage detected