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

Function ldrname

src/questpgr.c:49–57  ·  view source on GitHub ↗

return your role leader's name */

Source from the content-addressed store, hash-verified

47
48/* return your role leader's name */
49const char *
50ldrname(void)
51{
52 int i = gu.urole.ldrnum;
53
54 Sprintf(gn.nambuf, "%s%s", type_is_pname(&mons[i]) ? "" : "the ",
55 mons[i].pmnames[NEUTRAL]);
56 return gn.nambuf;
57}
58
59/* return your intermediate target string */
60staticfn const char *

Callers 2

convert_argFunction · 0.85
print_mapseenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected