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

Function ugenocided

src/polyself.c:2264–2269  ·  view source on GitHub ↗

True iff hero's role or race has been genocided */

Source from the content-addressed store, hash-verified

2262
2263/* True iff hero's role or race has been genocided */
2264boolean
2265ugenocided(void)
2266{
2267 return ((svm.mvitals[gu.urole.mnum].mvflags & G_GENOD)
2268 || (svm.mvitals[gu.urace.mnum].mvflags & G_GENOD));
2269}
2270
2271/* how hero feels "inside" after self-genocide of role or race */
2272const char *

Callers 3

welcomeFunction · 0.85
polymanFunction · 0.85
status_enlightenmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected