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

Function restartcham

src/mon.c:4639–4643  ·  view source on GitHub ↗

let chameleons change and mimics hide again; called when taking off ring of protection from shape changers */

Source from the content-addressed store, hash-verified

4637/* let chameleons change and mimics hide again; called when taking off
4638 ring of protection from shape changers */
4639void
4640restartcham(void)
4641{
4642 iter_mons(m_restartcham);
4643}
4644
4645/* called when restoring a monster from a saved level; protection
4646 against shape-changing might be different now than it was at the

Callers 2

Ring_off_or_goneFunction · 0.85
nh_timeoutFunction · 0.85

Calls 1

iter_monsFunction · 0.85

Tested by

no test coverage detected