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

Function m_into_limbo

src/mon.c:3833–3840  ·  view source on GitHub ↗

drop monster into "limbo" - that is, migrate to the current level */

Source from the content-addressed store, hash-verified

3831
3832/* drop monster into "limbo" - that is, migrate to the current level */
3833void
3834m_into_limbo(struct monst *mtmp)
3835{
3836 xint16 target_lev = ledger_no(&u.uz), xyloc = MIGR_APPROX_XY;
3837
3838 mtmp->mstate |= MON_LIMBO;
3839 migrate_mon(mtmp, target_lev, xyloc);
3840}
3841
3842void
3843migrate_mon(

Callers 9

u_teleport_monFunction · 0.85
u_collide_mFunction · 0.85
clear_fcorrFunction · 0.85
wallify_vaultFunction · 0.85
gd_mv_monawayFunction · 0.85
losedogsFunction · 0.85
mon_arriveFunction · 0.85
deal_with_overcrowdingFunction · 0.85
put_lregion_hereFunction · 0.85

Calls 2

ledger_noFunction · 0.85
migrate_monFunction · 0.85

Tested by

no test coverage detected