finish consume_tin(); also potentially used by cprefx() and cpostfx() */
| 1513 | |
| 1514 | /* finish consume_tin(); also potentially used by cprefx() and cpostfx() */ |
| 1515 | staticfn void |
| 1516 | use_up_tin(struct obj *tin) |
| 1517 | { |
| 1518 | if (carried(tin)) |
| 1519 | useup(tin); |
| 1520 | else |
| 1521 | useupf(tin, 1L); |
| 1522 | /* reset tin context */ |
| 1523 | svc.context.tin.tin = (struct obj *) NULL; |
| 1524 | svc.context.tin.o_id = 0; |
| 1525 | } |
| 1526 | |
| 1527 | staticfn void |
| 1528 | consume_tin(const char *mesg) |
no test coverage detected