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

Function count_cond

src/options.c:9178–9188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9176RESTORE_WARNING_FORMAT_NONLITERAL
9177
9178staticfn int
9179count_cond(void)
9180{
9181 int i, cnt = 0;
9182
9183 for (i = 0; i < CONDITION_COUNT; ++i) {
9184 if (condtests[i].enabled)
9185 cnt++;
9186 }
9187 return cnt;
9188}
9189
9190staticfn int
9191count_apes(void)

Callers 1

optfn_o_status_condFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected