return inventory object of type that will petrify on touch */
| 1505 | |
| 1506 | /* return inventory object of type that will petrify on touch */ |
| 1507 | struct obj * |
| 1508 | carrying_stoning_corpse(void) |
| 1509 | { |
| 1510 | struct obj *otmp; |
| 1511 | |
| 1512 | for (otmp = gi.invent; otmp; otmp = otmp->nobj) |
| 1513 | if (otmp->otyp == CORPSE && touch_petrifies(&mons[otmp->corpsenm])) |
| 1514 | break; |
| 1515 | return otmp; |
| 1516 | } |
| 1517 | |
| 1518 | /* Fictional and not-so-fictional currencies. |
| 1519 | * http://concord.wikia.com/wiki/List_of_Fictional_Currencies |
no outgoing calls
no test coverage detected