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

Function e_nam

src/dbridge.c:350–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348/* #define e_strg(etmp, func) (is_u(etmp) ? (char *) 0 : func(etmp->emon)) */
349
350staticfn const char *
351e_nam(struct entity *etmp)
352{
353 return is_u(etmp) ? "you" : mon_nam(etmp->emon);
354}
355
356/*
357 * Generates capitalized entity name, makes 2nd -> 3rd person conversion on

Callers 1

do_entityFunction · 0.85

Calls 1

mon_namFunction · 0.85

Tested by

no test coverage detected