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

Function monst_to_any

src/hack.c:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88anything *
89monst_to_any(struct monst *mtmp)
90{
91 gt.tmp_anything = cg.zeroany;
92 gt.tmp_anything.a_monst = mtmp;
93 return &gt.tmp_anything;
94}
95
96anything *
97obj_to_any(struct obj *obj)

Callers 10

slimed_to_deathFunction · 0.85
polyselfFunction · 0.85
rehumanizeFunction · 0.85
discard_migrationsFunction · 0.85
replmonFunction · 0.85
m_detachFunction · 0.85
newchamFunction · 0.85
clone_monFunction · 0.85
makemonFunction · 0.85
create_monsterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected