| 1610 | } |
| 1611 | |
| 1612 | struct obj * |
| 1613 | g_at(coordxy x, coordxy y) |
| 1614 | { |
| 1615 | struct obj *obj = svl.level.objects[x][y]; |
| 1616 | |
| 1617 | while (obj) { |
| 1618 | if (obj->oclass == COIN_CLASS) |
| 1619 | return obj; |
| 1620 | obj = obj->nexthere; |
| 1621 | } |
| 1622 | return (struct obj *) 0; |
| 1623 | } |
| 1624 | |
| 1625 | /* compact a string of inventory letters by dashing runs of letters */ |
| 1626 | staticfn void |
no outgoing calls
no test coverage detected