MCPcopy Create free account
hub / github.com/NetHack/NetHack / finish_meating

Function finish_meating

src/dogmove.c:1447–1457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1445};
1446
1447void
1448finish_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 */

Callers 11

maybewakesteedFunction · 0.85
mdisplacemFunction · 0.85
sleep_monstFunction · 0.85
mon_catchup_elapsed_timeFunction · 0.85
keepdogsFunction · 0.85
wary_dogFunction · 0.85
wakeupFunction · 0.85
normal_shapeFunction · 0.85
mon_regenFunction · 0.85
m_moveFunction · 0.85
ghitmFunction · 0.85

Calls 1

newsymFunction · 0.85

Tested by

no test coverage detected