| 1445 | }; |
| 1446 | |
| 1447 | void |
| 1448 | finish_meating(struct monst *mtmp) |
| 1449 | { |
| 1450 | mtmp->meating = 0; |
| 1451 | if (M_AP_TYPE(mtmp) != M_AP_NOTHING && mtmp->data->mlet != S_MIMIC) { |
| 1452 | /* was eating a mimic and now appearance needs resetting */ |
| 1453 | mtmp->m_ap_type = M_AP_NOTHING; |
| 1454 | mtmp->mappearance = 0; |
| 1455 | newsym(mtmp->mx, mtmp->my); |
| 1456 | } |
| 1457 | } |
| 1458 | |
| 1459 | /* |
| 1460 | * variation of leashable() that takes a PM_ index */ |
no test coverage detected