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

Function check_perm_invent_again

src/options.c:5531–5540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5529
5530#ifdef TTY_PERM_INVENT
5531void
5532check_perm_invent_again(void)
5533{
5534 if (iflags.perm_invent_pending) {
5535 iflags.perm_invent = FALSE;
5536 if (can_set_perm_invent())
5537 iflags.perm_invent = TRUE;
5538 iflags.perm_invent_pending = FALSE;
5539 }
5540}
5541#endif
5542
5543staticfn int

Callers 1

Calls 1

can_set_perm_inventFunction · 0.85

Tested by

no test coverage detected