| 1554 | } |
| 1555 | |
| 1556 | struct obj * |
| 1557 | u_carried_gloves(void) |
| 1558 | { |
| 1559 | struct obj *otmp, *gloves = (struct obj *) 0; |
| 1560 | |
| 1561 | if (uarmg) { |
| 1562 | gloves = uarmg; |
| 1563 | } else { |
| 1564 | for (otmp = gi.invent; otmp; otmp = otmp->nobj) |
| 1565 | if (is_gloves(otmp)) { |
| 1566 | gloves = otmp; |
| 1567 | break; |
| 1568 | } |
| 1569 | } |
| 1570 | return gloves; |
| 1571 | } |
| 1572 | |
| 1573 | |
| 1574 | /* 3.6 tribute */ |