| 1465 | } |
| 1466 | |
| 1467 | staticfn void |
| 1468 | swallowit(struct obj *obj) |
| 1469 | { |
| 1470 | if (obj != uball) { |
| 1471 | (void) mpickobj(u.ustuck, obj); /* clears 'gt.thrownobj' */ |
| 1472 | throwit_return(FALSE); |
| 1473 | } else |
| 1474 | throwit_return(TRUE); |
| 1475 | } |
| 1476 | |
| 1477 | /* thrown object hits a monster. |
| 1478 | mon may be NULL. |
no test coverage detected